dev-resources.site
for different kinds of informations.
Common mistakes in Flutter article series
Published at
1/8/2025
Categories
flutter
mobile
dart
tutorial
Author
pomis172
Author
8 person written this
pomis172
open
Part 1 — ListViews
- Shrink wrapping ListView.builder or using NeverScrollableScrollPhysics.
- Letting every item in the list determine height on its own.
- Wrapping a ListView into a Padding widget.
- Using wrong scroll physics for different platforms.
- Adding keys to every list item and expecting that it will improve the scrolling performance.
- Not using restorationId.
Part 2 — Images
- Large image assets.
- Not using WebP assets.
- Using the Opacity widget when not needed.
- Not precaching image assets.
- Not caching network images.
- Not optimizing SVG assets.
Part 3 — i18n
- Using different string entries to make a single sentence by concatenating.
- Ignoring plurals or writing some custom logic to handle it.
- Manually formatting date and time, hardcoding names of months, days of week.
- Concatenating currency and price strings.
- Using fonts that support only Latin script.
Part 4 — OAuth
- Using WebView to handle auth flow.
- Storing access tokens in a non-secure storage.
- Racing refreshing sessions when the refresh token is allowed to be used only once.
- Bundling client secrets in the application.
dart Article's
30 articles in total
Flutter vs React Native in 2025: A Comprehensive Comparison
read article
Deploying Flutter Web Apps using Globe.dev
read article
Journey to Clean Architecture: Wrestling with a 10k Line Flutter Legacy Codebase
read article
5 Essential Flutter Widgets Every Developer Should Master
read article
Mastering Nested Navigation in Flutter with `go_router` and a Bottom Nav Bar
read article
Flutter for Beginners: From Installation to Your First App
read article
Building a Beautiful Login Screen in Flutter: A Complete Guide
read article
Flutter Design Pattern Bussines Logic Component (BLOC)
read article
Create Different Type of Flavor on Flutter Application
read article
Handling PathAccessException in iOS for File Download
read article
Common mistakes in Flutter article series
currently reading
Design Pattern in Flutter MVVM
read article
7 Ways to Refactor Your Flutter Application
read article
WebRTC vs Agora Video SDK vs ZegoCloud for Video Calling in Flutter: A Comprehensive Comparison
read article
From Chaos to Control: The Day I Learned the Magic of Debouncing in Flutter 🚀
read article
Syntax of comments in dart
read article
My first Dart program
read article
Integrate the Gemini REST API in Flutter: Unlock Powerful Generative Language Models for Your Next App
read article
Dart Operators Explained in Bangla
read article
Control Flow Statements (switch and case) in Dart (Bangla)
read article
break, continue in Dart programming (Bangla)
read article
Control Flow Statements ( for, while, do-while ) in dart (Bangla)
read article
Control Flow Statements ( if, else, else if) in dart (Bangla)
read article
Type inference in Dart programming (Bangla)
read article
var, final, const in dart programming
read article
We are in Top 5 Flutter Of The Year Apps List
read article
Class in dart
read article
Function in dart
read article
Map in Dart
read article
List in Dart
read article
Featured ones: