A Flutter package that keeps scrolling and navigation near target frame rates even when build and layout work is heavy, with small named widget swaps or a flexible builder wrapper.
Overview
Flutter Smooth targets frame rate and perceived smoothness when Flutter apps spend a lot of time building or laying out large widget trees. The goal stated for the package is to run at roughly full FPS with minimal uncomfortable jank and low overhead, even when the tree is expensive to build or layout.
For common patterns you can use drop-in replacements: prefix familiar widgets and routes with Smooth so that, for example, a standard list view or material page route uses the smooth variants. For less typical UI you wrap arbitrary subtrees in a builder that marks whatever inside should participate in the smooth rendering path.
The work is oriented toward end-user perception of motion and scrolling rather than micro-optimizing isolated widgets in isolation. Demonstration material contrasts the same screen with and without the package to show how heavy trees behave under load.
Integration happens as a normal Flutter dependency in your app; ongoing related changes are also pursued upstream in the core Flutter framework and engine so the techniques can align with stable Flutter releases over time.
Key features
- Drop-in Smooth-prefixed list and route widgets
- SmoothBuilder for custom subtrees
- Aims for ~60 FPS on heavy trees
- Low stated runtime overhead
- Works with standard Flutter widget APIs
- Demo compares with and without smoothing
Use cases
- Long lists that jank during scroll
- Heavy build/layout widget trees
- Route transitions that stutter
- Custom screens needing flexible wrapping