🚀 Flutter Tip Use Expanded inside Rows & Columns to auto-fill available space. 👉 It saves you from hardcoding widths & heights. Example: Row( children: [ Expanded(child: Text("Takes all free space")), Icon(Icons.star), ], ); Makes layouts flexible…
![DevRitual's tweet image. 🚀 Flutter Tip
Use Expanded inside Rows & Columns to auto-fill available space.
👉 It saves you from hardcoding widths & heights.
Example:
Row(
children: [
Expanded(child: Text("Takes all free space")),
Icon(Icons.star),
],
);
Makes layouts flexible…](https://pbs.twimg.com/media/GydHbvbXkAAik8F.jpg)
🚀 #LeanFlutterHacks – Ep. 7: Explain code analysis ignores 🚀 We’ve all been there: a lint rule gets in the way, and you drop in an ignore to move on. ✅ Sometimes it’s intentional. ✅ Sometimes it’s just a quick workaround. If you do, always leave a short comment explaining…

🧐 Flutter tips Add custom page transitions using GoRouter You can do pretty anything with page transitions Most of the time I don't do it But for game or app with really different design I do it This is really good to change your overall app experience App is all about…

I have found a better way of storing API endpoints in #Flutter: instead of just strings, I embed all API details like method, request body and url! Article link in the first comment 👇🏻

🚀 #LeanFlutterHacks – Ep. 1: Checking null in conditions 🚀 Tired of unsafe (!) assertions in #Dart? 😬Pattern matching to the rescue! The BEFORE approach is error-prone - it manually checks for `null`, then forces a non-null assertion (!), which can lead to runtime exceptions…

🚀 #LeanFlutterHacks – Ep. 2: More readable test expectations 🚀 Make your #Flutter tests speak for themselves. 📣 Use expressive matches like `isEmpty`, `throwsA`, and `isA` instead of raw comparisons or placeholders, to make tests easier to read and maintain, clearly showing…

🚀 #LeanFlutterHacks – Ep. 3: Use declarative list literals 🚀 Build lists in a declarative way.💡 Instead of a bunch of `.add()` and `.addAll()` calls, use declarative Dart’s list literals to keep your code clean. With `if, ..., ?` and `for`, you can build complex lists in a…

🚀 #LeanFlutterHacks – Ep. 4: Pattern matching with `switch`🚀 Struggling with deeply nested `if/else` logic? There's a cleaner way.💡 Pattern matching with `switch` makes your code clearer and visually easier to understand because it mirrors how you'd think through a decision…

Flutter 3.32 brings big updates to Material and Cupertino Flutter Widgets, including the Squircle! 🤩 Run Flutter upgrade today to get the dozens of improvements.
Learn about nested lists in Flutter, how the shrinkWrap parameter works, and why sometimes Slivers are the best tool for the job. 🏆 Join us for a little #ThrowbackThursday with this past episode of #DecodingFlutter ↓
Flutter 3.32.6 was just released, containing 3 fixes and improvements. 🪛✨ See the changes → goo.gle/4lm9tiu Share feedback ↓ goo.gle/44Iaf2e
Home is where the widget is. ⚙️🩵 The HomeWidget plugin makes it easier to create HomeScreen widgets on Android and iOS. #PackageOfTheWeek #ThrowbackThursday
Use the flutter_animate package to quickly add beautiful, customizable, pre-built animations to your Flutter app. 🦋 #ThrowbackThursday #WidgetOfTheWeek
United States 趨勢
- 1. Gabe Vincent 3,007 posts
- 2. #AEWDynamite 17.1K posts
- 3. #VSFashionShow 514K posts
- 4. Angel Reese 44.9K posts
- 5. #Survivor49 3,205 posts
- 6. #youtubedown 15.9K posts
- 7. tzuyu 206K posts
- 8. Deport Harry Sisson 5,167 posts
- 9. #stlblues 1,561 posts
- 10. Quen 28.7K posts
- 11. George Kirby 2,266 posts
- 12. jihyo 166K posts
- 13. Darby 4,905 posts
- 14. Suarez 17.5K posts
- 15. Hofer 1,650 posts
- 16. Birdman 4,594 posts
- 17. Nazar 6,076 posts
- 18. Victoria's Secret 501K posts
- 19. Tusky 1,916 posts
- 20. Sabres 6,585 posts
Something went wrong.
Something went wrong.