Logo

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
Categories
4 categories in total
flutter
open
mobile
open
dart
open
tutorial
open
Author
8 person written this
pomis172
open
Common mistakes in Flutter article series

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
Favicon
Flutter vs React Native in 2025: A Comprehensive Comparison
Favicon
Deploying Flutter Web Apps using Globe.dev
Favicon
Journey to Clean Architecture: Wrestling with a 10k Line Flutter Legacy Codebase
Favicon
5 Essential Flutter Widgets Every Developer Should Master
Favicon
Mastering Nested Navigation in Flutter with `go_router` and a Bottom Nav Bar
Favicon
Flutter for Beginners: From Installation to Your First App
Favicon
Building a Beautiful Login Screen in Flutter: A Complete Guide
Favicon
Flutter Design Pattern Bussines Logic Component (BLOC)
Favicon
Create Different Type of Flavor on Flutter Application
Favicon
Handling PathAccessException in iOS for File Download
Favicon
Common mistakes in Flutter article series
Favicon
Design Pattern in Flutter MVVM
Favicon
7 Ways to Refactor Your Flutter Application
Favicon
WebRTC vs Agora Video SDK vs ZegoCloud for Video Calling in Flutter: A Comprehensive Comparison
Favicon
From Chaos to Control: The Day I Learned the Magic of Debouncing in Flutter 🚀
Favicon
Syntax of comments in dart
Favicon
My first Dart program
Favicon
Integrate the Gemini REST API in Flutter: Unlock Powerful Generative Language Models for Your Next App
Favicon
Dart Operators Explained in Bangla
Favicon
Control Flow Statements (switch and case) in Dart (Bangla)
Favicon
break, continue in Dart programming (Bangla)
Favicon
Control Flow Statements ( for, while, do-while ) in dart (Bangla)
Favicon
Control Flow Statements ( if, else, else if) in dart (Bangla)
Favicon
Type inference in Dart programming (Bangla)
Favicon
var, final, const in dart programming
Favicon
We are in Top 5 Flutter Of The Year Apps List
Favicon
Class in dart
Favicon
Function in dart
Favicon
Map in Dart
Favicon
List in Dart

Featured ones: