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.
flutter Article's
30 articles in total
Favicon
Flutter vs React Native in 2025: A Comprehensive Comparison
Favicon
Building a Cross-Platform Food Ordering App with Flutter
Favicon
Deploying Flutter Web Apps using Globe.dev
Favicon
Flutter App, Speech to Text and Text to Speech 🐣
Favicon
Journey to Clean Architecture: Wrestling with a 10k Line Flutter Legacy Codebase
Favicon
Building the 'One of a Kind' Ultimate Mobile App Framework. Seeking exceptional engineers to join the journey.
Favicon
Why Should You Develop a Native Android App Over Flutter?
Favicon
Flutter Development for Low end PCs
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
Movie X: A Developer’s Dive Into Flutter Project Organization
Favicon
Create Different Type of Flavor on Flutter Application
Favicon
Handling PathAccessException in iOS for File Download
Favicon
Full Stack Development (Mern && Flutter)
Favicon
Common mistakes in Flutter article series
Favicon
Design Pattern in Flutter MVVM
Favicon
7 Ways to Refactor Your Flutter Application
Favicon
is there any good article for custom lint rules in flutter?
Favicon
WebRTC vs Agora Video SDK vs ZegoCloud for Video Calling in Flutter: A Comprehensive Comparison
Favicon
Hassle free flutter Development in Hyprland with Neovim
Favicon
How to Build a CRUD Application Using Flutter & Strapi
Favicon
Flutter vs. React Native: Which mobile framework will you choose in 2025?
Favicon
Understanding ShellRoute in go_router: Managing Shared Layouts Effectively
Favicon
From Chaos to Control: The Day I Learned the Magic of Debouncing in Flutter πŸš€
Favicon
custom lint rules in flutter
Favicon
How to Clear Cookies in Flutter Custom Tabs?
Favicon
Flutter

Featured ones: