Flutter Responsive App: Expanded vs Flexible Widget
ฝัง
- เผยแพร่เมื่อ 8 ก.ย. 2024
- In Flutter, there are two ways to solve the responsiveness for different mobile screens, Flexible and Expanded. In this video I dive deep into how they work and which one to use when.
Happy coding!
If you guys want to read the post on Medium, here is the link:
/ flutter-responsive-app...
Expanded Widget - api.flutter.de...
Flexible Widget - api.flutter.de...
great job!
Expanded like tight constraint (need to fill up all available space)
Flexible like loose constraint (can be smaller)
Both Expanded and Flexible are humble on what they wants, if not enough space for what they want, they will just happily accept the allocated space, so have the effect of shrinking its size (i.e. the height or width parameters figure is ignored if available space is smaller that the figure)
Great summary!
Great thanks man
Simple and helpful explanation. Thanks a bunch!
Awesome Awesome Awesome
Simple and clear explanation. Thanks
wow , completely understand :)
Thanks for the help :)
Very Good Explaination. Thanks.
Thanks! Really helpful.
Gracias desde Argentina! me ayudo mucho tu video
great explanation, thanks
Very good explanation❤️
I can not thank you enough. Still thank you so much :)
Thanks a lot!
nice tutorial
Good Job!
thanks
awesome
Please.. 1080 without 60fps..... not 720 60fps
Please filter out your keyboard click sound when publishing video
thank
Talk slower…
easy concept 11 min boring
Not everyone is a genius like you