-
-
Notifications
You must be signed in to change notification settings - Fork 872
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
How to make the table take up 100% width #811
Comments
have you found answer? |
You might be able to use |
@tneotia its not work |
I took a deeper look at this, which is why it took a while to respond. As it stands, this isn't so easy to achieve. If you use percentage-based column widgtes such as via a Although we said we support css width and height properties, we actually didn't. I created a PR for that. But this is not sufficient for your issue, because it still does not implement/support percentage-based widths or heights. It would be possible but quite a bunch of work to do this. For example - and specifically for tables - you can't just tell a Container to size it's children to some percentage. On top of this, the table currently uses the intrinsic content sizes to size itself using https://pub.dev/packages/flutter_layout_grid and sizes the table (the grid) using Even if we merge the css-based width/height support, it remains to be seen if percentage-based widths can be supported reliably. I want to support your case but it is really not so easy. |
The text was updated successfully, but these errors were encountered: