Filter
Exclude
Time range
-
Near
🚀 Flutter Tip: Mastering the StatefulWidget Lifecycle Most Flutter performance issues aren't caused by complex code. They're caused by poor lifecycle management. Quick rule 👇 ✅ initState() → Setup ✅ build() → UI Rendering ✅ setState() → Update UI ✅ dispose() → Cleanup Resources If you ignore lifecycle methods, you may face: ❌ Memory leaks ❌ Duplicate API calls ❌ Unnecessary rebuilds ❌ Performance issues ❌ Controller crashes A premium Flutter app isn't just about beautiful UI. It's about performance, clean architecture, and proper state management. 💡 Remember: "Use initState() for setup, build() for UI, and dispose() for cleanup." Small optimizations = Better apps 🚀 #Flutter #FlutterDev #FlutterTips #Dart #MobileDevelopment #AppDevelopment
3
42
Here's some of the most useful flutter packages and plugins available Feel free to promote yours here 👇 #flutterdev #fluttertips
6
16
157
5,040
🧐 Flutter tips This is how I explain some features and guide users to test them On some app I increased the core feature usage by 50% - 1 to 3 steps max - user feel guided #flutterdev #fluttertips
4
53
1,710
🧐 Flutter tips Same app multiple possible sizes - mobile app - tablet - web? But you can use the same layout and just change small portion like here Depending on the current available space Only rebuilding children if a breakpoint change Using AI? - Put this widget in your core widget folder - add a widget section in your main claude or cursor rules file with "See widgets md for full internal widgets guide." - create a widgets md file and add "Use the DeviceSizeBuilder when you need to adapt small part of a screen for different layout sizes - inspired by tailwind breakpoints" #flutterdev #fluttertips
4
6
47
1,635
🧐 Flutter tips Add this to your Claude / Cursor rules - adding ios and android permissions section - embed permissions within a widget - if user refused permission (permanently denied) show a screen explaining that you need this permission a button to open app settings so user can change it Many people refuse permission by mistake But don't know where are app permissions #flutterdev #fluttertips
1
1
36
2,042
🧐 Flutter tips Add this to your flutter rules - add a refactoring section (if you don't have any) - add: "skip long if statements - add extensions methods on classes from external packages of flutter framework to improve readability when relevant" #fluttertips #flutterdev
2
2
44
1,913
🧐 Flutter tips Claude sucks with responsive But forcing him to test implementations using this every time find issues Then you must explain to him how to make things responsive: - scroll view if required - if no scroll -> have an extended or spacer element that will resize - force text maxlines (if possible) - test this on multiple languages AI is good But doesn't replace humans yet #fluttertips #flutterdev
3
3
61
2,366
🧐 Flutter tips How to easily highlight a single word within a string when all your app is translated many languages. Just create a custom text wrapper. Here's how I do this. ps: this is a simplified version. I have way more options but this wasn't the goal of this tips. #flutterdev #fluttertips
4
4
44
2,248
🧐 Flutter tips Stop using raw opacity values if you want consistent colors When designers give you a color with an alpha channel (like yellow with 30% opacity), its final look completely depends on what's underneath it. #flutterdev #fluttertips #apparencekit
1
9
68
2,020
🧐 Flutter tips Here's how I let Claude handle all my app translations Using Slang package a translations md file in my .claude folder Claude knows my structure Writes perfect translation keys Runs the right build commands Cleans unused keys No more manual translation management #flutterdev #claude #fluttertips
3
3
58
2,442
🧐 Flutter tips Stop relying purely on Timer.periodic Timers break when the app goes to the background. But they also don't guarantee to tick every second precisely. Here's how to do this instead. #flutterdev #fluttertips
1
13
623
🧐 Flutter tips How to show iOS live activity using Flutter #flutterdev #fluttertips
3
9
82
4,186
🧐 Flutter tips One of mobile development challenge is to correctly handling permission. Your user may refuse permission. - Prompt won't show again and your app should not crash - You have to explain how to validate permission - add a shortcut to settings I like to handle this as a widget above my page. If that page require the camera permission -> I show clear instructions why I need this permission a link to settings #flutterdev #fluttertips
1
4
53
2,473
🧐 Flutter tips refactoring using extensions Skip long if statements using extensions on classes you don't own For example I love to create extensions on DateTime or revenueCat products. Code is way more readable and even if you use AI you can teach it to refactor you code using this kind of tips Advanced tips -> add this rule to a refactoring claude skill #flutterdev #fluttertips
1
1
28
1,796
🧐 Flutter AI coding tips How to provide your Claude clear instructions on how to use the slang package to translate your app. - create this translations md file - reference it from your .claude file #flutterdev #fluttertips #flutteraitips
3
4
49
3,020
🧐 Flutter tips I love to overload operators and make my code more readable That's the kind of feature that makes dart really amazing to work on. #fluttertips #flutterdev
1
4
48
2,153
🧐 Flutter tips How to code a cool timer like this Using a custom painter #fluttertips #flutterdev
2
9
83
2,443
🧐 Flutter tips How to create an accurate workout timer Timer may not be accurate. Delays and ticks may not be perfectly accurate, especially if the CPU is busy or under heavy load. (Or app is in background) Solution? Rely on the starting date and current time #flutterdev #fluttertips
1
5
71
2,239
🧐 Flutter tips Intrinsic height is not the best widget, but you sometimes have to use it. It decreases performance if you abuse it. #flutterdev #fluttertips
2
3
54
2,157
🧐 Flutter tips how to use clipboard with Flutter cheat sheat - Copying images to the clipboard on Web is more restrictive due to browser security - For images you need an additional plugin #flutterdev #fluttertips
1
49
2,337