dev_with_unni's profile picture. software developer

Code Nursery

@dev_with_unni

software developer

Code Nursery 님이 재게시함

🚀 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…

Code Nursery 님이 재게시함

🚀 #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…

LeanCodePl's tweet image. 🚀 #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…

Code Nursery 님이 재게시함

🧐 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…

mcflyDev's tweet image. 🧐 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…

Code Nursery 님이 재게시함

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 👇🏻

kamranbekirovyz's tweet image. 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 👇🏻

Code Nursery 님이 재게시함

🚀 #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…

LeanCodePl's tweet image. 🚀 #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…

Code Nursery 님이 재게시함

🚀 #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…

LeanCodePl's tweet image. 🚀 #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…

Code Nursery 님이 재게시함

🚀 #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…

LeanCodePl's tweet image. 🚀 #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…

Code Nursery 님이 재게시함

🚀 #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…

LeanCodePl's tweet image. 🚀 #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…

Code Nursery 님이 재게시함

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.


Code Nursery 님이 재게시함

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


Code Nursery 님이 재게시함

Flutter 3.32.6 was just released, containing 3 fixes and improvements. 🪛✨ See the changes → goo.gle/4lm9tiu Share feedback ↓ goo.gle/44Iaf2e


Code Nursery 님이 재게시함

Home is where the widget is. ⚙️🩵 The HomeWidget plugin makes it easier to create HomeScreen widgets on Android and iOS. #PackageOfTheWeek #ThrowbackThursday


Code Nursery 님이 재게시함

Use the flutter_animate package to quickly add beautiful, customizable, pre-built animations to your Flutter app. 🦋 #ThrowbackThursday #WidgetOfTheWeek


United States 트렌드

Loading...

Something went wrong.


Something went wrong.