Explore tweets tagged as #SizedBox
@DevRitual
DevRitual
13 days
๐Ÿš€ Flutter Tip of the Day Did you know? Instead of using Container for spacing, you can use SizedBox itโ€™s lighter, faster, and more efficient! โšก โŒ Not optimal Container(height: 20); โœ… Better SizedBox(height: 20); This small change improves widget performance and makes
Tweet media one
5
3
52
@lukasiuu
Lukas
21 days
Some packages on https://t.co/vhnks1PIZs just amazes me, just like Gap. It is literally just a SizedBox, yet, almost 100k weekly downloads. Cโ€™mon devs, are we that lazy? https://t.co/wpZlz0qVEx
Tweet media one
12
1
79
@DevRitual
DevRitual
26 days
๐Ÿš€Core Flutter Widgets StatelessWidget & StatefulWidget Know when to use each. Scaffold, AppBar, Column, Row, Stack โ€“ The building blocks of UI. Container vs SizedBox vs Padding โ€“ For layout and spacing. ListView & GridView โ€“ Handling lists efficiently. Custom Widgets โ€“
Tweet media one
3
3
35
@DevRitual
DevRitual
28 days
๐Ÿš€Flutter tips Prefer SizedBox over Container for spacing ๐Ÿ“ When you only need empty space, SizedBox(height: 20) is more efficient than Container. Stay focused.
Tweet media one
5
7
102
@DevRitual
DevRitual
27 days
๐ŸŽฏ Flutter Quick Wins ๐Ÿ”น Use const everywhere you can โ†’ Flutter loves it. ๐Ÿ”น Replace empty Containers with SizedBox.shrink() โ†’ Zero size, zero fuss. ๐Ÿ”น Leverage Theme.of(context) โ†’ Keep styles consistent app-wide. ๐Ÿ”น Break long build() methods โ†’ Smaller widgets = happier dev
Tweet media one
7
10
85
@DevRitual
DevRitual
11 days
๐Ÿš€ Flutter Tip of the Day Stop wrapping everything in Container Instead, use lighter widgets like Padding, SizedBox, or DecoratedBox. Why? โœ… Better performance โœ… Cleaner widget tree โœ… Easier to maintain โŒ Overkill Container( padding: EdgeInsets.all(16), child:
Tweet media one
8
9
97
@caseycrogers
Casey Rogers
2 years
#flutter tip of the day: don't space your widgets using SizedBox, use flutter gutter instead! https://t.co/bAIBhkx9Tz #buildinpublic
Tweet media one
14
22
165
@piedcipher
Tirth Patel ๐Ÿ‡ฎ๐Ÿ‡ณ ๐Ÿฆ‡
10 months
Rainbow w/ CircularProgressIndicator, SizedBox & Stack ๐ŸŽจ ๐Ÿ… https://t.co/Cg85Hh3xgI
Tweet media one
3
5
59
@SurajItIs
Suraj Raghuvanshi
9 months
noone: code reviewer seeing SizedBox in my code
Tweet media one
0
0
2
@biz84
Andrea Bizzotto ๐Ÿ‡บ๐Ÿ‡ฆ
9 months
Did you know? Since Flutter 3.27, you can pass a spacing argument to your Row and Column widgets. โœ… This means you no longer need a SizedBox to add fixed spacing between each child. ๐Ÿš€
Tweet media one
5
26
210
@ulusoyapps
Cagatay Ulusoy
2 years
#FlutterTip ๐Ÿ’ก Facing invalid values in your widget's factory constructor? You can choose to throw an error (suggested) or return SizedBox.shrink() (not recommended to silence the error). Here's how you can test in case you decide to silence the error and eturn a shrinked box:
Tweet media one
1
1
8
@favourswayss
Fave.
6 months
Flutter Todayyy [Quiz App] ๐Ÿฅน๐Ÿฅณ๐Ÿ’ƒ I am excited our Quiz app is DONE! ๐ŸŽ‰Built the results screen (designers, donโ€™t come for me ๐Ÿ˜ญ). Made use of Rows, Columns, Expanded, SizedBox & added a restart button so users-me ๐Ÿ˜‚ can start the quiz over. Section 2 of my Flutter courseโœ…๐Ÿ’ƒ
Tweet media one
Tweet media two
28
13
221
@smr1337
smr
2 years
Inspired by Flutter's beloved `SizedBox` and Theo.
Tweet media one
0
0
2
@whois_aashish_
Aashish
1 year
I have recently doing Swift Ui and liked how we can give design properties. In Flutter i thought of making extension on Column instead of using SizedBox for spacing as we can do same for Row. No need to write sized box a lot of times. What are your thoughts? #flutter
Tweet media one
Tweet media two
1
0
2
@oja_bitterlife
ใŠใ˜ใ‚ƒ
1 year
Flutterใงใ‚ฒใƒผใƒ ใ‚’ไฝœใฃใฆใฟใ‚ˆใ†ใฎ็ถšใใ€‚ ใƒ‡ใƒผใ‚ฟใฎSQLiteๅŒ–ใŒ็ต‚ใ‚ใฃใŸใฎใงUIใซๆ‰‹ใ‚’ๅ…ฅใ‚Œๅง‹ใ‚ใ‚‹ใ€‚ ใชใซใ‹ใŒ้–“้•ใฃใฆใ‚‹ใ‚ˆใ†ใชๆฐ—ใŒใ—ใคใคใ€SizedBoxใงๅ„้ …็›ฎใฎใ‚นใƒšใƒผใ‚นใ‚’่ชฟ็ฏ€_(:3ใ€โˆ )_
Tweet media one
0
0
3
@DevRitual
DevRitual
29 days
๐Ÿง  Flutter Quick Win Use const for SizedBox and spacing too. โŒ Unoptimized SizedBox(height: 20); โœ… Optimized const SizedBox(height: 20); Why: Less work for Flutterโ€™s rebuild engine = smoother animations. Consistency beats talent. Keep coding ๐Ÿ’ช
Tweet media one
2
9
63
@codeonsunday
Code On Sunday
2 years
Guess the output @FlutterDev ๐Ÿ‘‡ It's FALSE. I don't get it. Replace the SizedBox with any Widget, you get the same result. But changing it to a Foo class, the result is TRUE. Can any explain, please?
Tweet media one
14
4
30
@SignalOwl
Johan Scheepers
2 months
What is the final size off the SizedBox? #Flutter ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿ˜‡ @FlutterDev
Tweet media one
6
3
67
@odinachidavid
Dart Guy
1 year
This would save you the stress of always having to use SizedBox #flutter #flutterdev
Tweet media one
18
18
141