I used flutter_bloc for years, in different teams, it is kind of a standart at this point. It is really annoying, and I grew to hate it, it enforses bad practices and unclean code...
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
why Clean Code in Flutter is a Game-Changer ?
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
why Clean Code in Flutter is a Game-Changer ?
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
✅Tip5: Comment Smart, Not Excessive
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
✅Tip4: Follow solid Principles
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
✅Tip3: Avoid Duplicating Code
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
✅Tip2: Keep Functions Short
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
✅Tip1: Meaningful Names
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
⛔ Messy codes slows you down
#flutterdev
#fluttercommunity
#flutterapp
#flutterdeveloper
#fluttercanvas
#fluttertip
#flutter
#cleancode
You can simply test if two values are equal in dart with expect(actual, expected)
But if you want to test errors use the function closure that throws error as actual and check with throwsA<ErrorType> as expected.
#FlutterCanvas
#FlutterDevelopment
#AppDesign
It’s too much of work 😰🥱 to import every assets like image 🏞, json , audio 🎵into pubspec.yml
But sadly 😢, you can’t import just the assets folder.
Just import all the folders, it will work
#flutter #fluttertips #fluttercanvas #flutterapp
If you want to have a single text with different style within it? Do not bother or try to hack with with Text() and use RichText() with TextSpan().
#FlutterCanvas #FlutterDevelopment #AppDesign
Explore the ListView widget in Flutter! 📜 Perfect for displaying scrollable lists, it supports lazy loading for performance. Use ListView.builder for dynamic content or ListView.separated for custom dividers. A must-know for any Flutter dev! #Flutter #ListView #AppDev #fluttercanvas
Welcome to Flutter Canvas!
Your ultimate hub for creative app design and Flutter development tips. Discover tutorials, UI inspiration, and expert tricks to build stunning, responsive apps. Transform ideas into reality with us!
#FlutterCanvas #FlutterDevelopment #AppDesign