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

ResponsiveConstraints consider rendering ConstrainedBox instead of Container #189

Open
vasilich6107 opened this issue Sep 27, 2024 · 0 comments

Comments

@vasilich6107
Copy link

vasilich6107 commented Sep 27, 2024

Container widget is a Swiss knife and has a loot of internal checks which just takes more time to get through.

Let me give you an exmaple - you can set background color with ColoredBox or Container
ColoredBox is more preferable due to performance penalties of Container

Same could be applied for ResponsiveConstraints
If we are using only constraints prop - ConstrainedBox looks more ideal option to use

@vasilich6107 vasilich6107 changed the title ResponsiveConstraints consider rendering ConstrainedBox instead of Container ResponsiveConstraints consider rendering ConstrainedBox instead of Container Sep 27, 2024
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