🚀 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. Flacco 85.9K posts
- 2. Bengals 81.1K posts
- 3. Bengals 81.1K posts
- 4. Tomlin 21.9K posts
- 5. #clubironmouse 2,998 posts
- 6. Ramsey 19.2K posts
- 7. #criticalrolespoilers 8,074 posts
- 8. Chase 107K posts
- 9. Chase 107K posts
- 10. #WhoDidTheBody 1,607 posts
- 11. #TNFonPrime 5,617 posts
- 12. yeonjun 117K posts
- 13. #WhoDey 6,885 posts
- 14. Cuomo 84.6K posts
- 15. Teryl Austin 2,816 posts
- 16. Andrew Berry 3,278 posts
- 17. Xenoverse 3 N/A
- 18. Tame Impala 5,549 posts
- 19. Max Scherzer 14.5K posts
- 20. Burrow 9,903 posts
Something went wrong.
Something went wrong.