Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: would like table.add to toString by default #2

Open
eseidel opened this issue Oct 29, 2023 · 0 comments
Open

feat: would like table.add to toString by default #2

eseidel opened this issue Oct 29, 2023 · 0 comments

Comments

@eseidel
Copy link

eseidel commented Oct 29, 2023

Similar to how print() works, etc. Just calls toString on the object.
https://github.com/dart-lang/sdk/blob/main/sdk/lib/core/print.dart#L19

I think this should be doable by making Table.add take Object? rather than dynamic?

Right now if you pass an object instead of a string, it just leaves the cell blank it seems, which seems like the wrong default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant