mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-23 20:02:15 +00:00
Introduce a unique `ValueKey` for each page (chapter ID + page index) and wrap items in `KeyedSubtree`. This ensures Flutter can correctly preserve widget identity when the preload manager inserts or prepends pages. Previously, every `setState` triggered by page preloading caused the entire list to rebuild, leading to visible lag. With stable keys, only newly added pages rebuild while existing ones retain their state. This significantly reduces jank, improves scroll smoothness, and makes chapter transitions nearly seamless. |
||
|---|---|---|
| .. | ||
| eval | ||
| ffi | ||
| l10n | ||
| models | ||
| modules | ||
| providers | ||
| router | ||
| services | ||
| src/rust | ||
| utils | ||
| main.dart | ||