You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
vasilich6107
changed the title
ResponsiveConstraints consider rendering ConstrainedBox instead of ContainerResponsiveConstraints consider rendering ConstrainedBox instead of ContainerSep 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
orContainer
ColoredBox
is more preferable due to performance penalties ofContainer
Same could be applied for
ResponsiveConstraints
If we are using only
constraints
prop -ConstrainedBox
looks more ideal option to useThe text was updated successfully, but these errors were encountered: