Sergey Klyuykov

Flutter Fixes

Fixing Flutter apps: layout, migration, crashes, performance

Task

Four typical Flutter app problems and how they were fixed, with before/after tests.

What was done

  • Text overflowing the screen: 42 RenderFlex overflow errors on narrow phones and with large fonts. The layout was reworked, and a test at 320 and 390 px with ×1.5 font scale is green.
  • Migrating a project from Flutter 2.x to 3.41: dependency conflicts and 17 errors from removed APIs. Result: flutter analyze reports no issues and the tests pass.
  • setState-after-dispose crash when leaving a screen during loading: crashes went from 2 to 0, and both scenarios are covered by tests.
  • A sluggish 2,000-item feed: switched to ListView.builder — 3× faster to open and 10× faster scrolling (measured by a test).

Screenshots

  • Text overflowing the screen: 42 RenderFlex overflow errors on narrow phones and with large fonts. The layout was reworked, and a test at 320 and 390 px with ×1.5 font scale is green.
  • Migrating a project from Flutter 2.x to 3.41: dependency conflicts and 17 errors from removed APIs. Result: flutter analyze reports no issues and the tests pass.
  • setState-after-dispose crash when leaving a screen during loading: crashes went from 2 to 0, and both scenarios are covered by tests.
  • A sluggish 2,000-item feed: switched to ListView.builder — 3× faster to open and 10× faster scrolling (measured by a test).

Need something similar?

Tell me what needs to be built — I'll reply with how to approach it for your case and how long it will take.