Flutter Listview Viewport Gotchas

Flutter ListView/CustomScrollView viewport recycling gotchas and debugging patterns. Use when debugging Flutter issues where widget state changes do not reflect in the UI, `didUpdateWidget` is never called, `ScrollController` has no clients, or selected items in horizontally scrollable lists are not visible. Triggers on keywords like "didUpdateWidget not called", "ListView recycling", "widget state lost", "scroll to selected", "chip not visible", "ScrollController hasClients false", "StatefulWidget disposed unexpectedly", "ConsumerStatefulWidget state lost".

ImL1s Updated

File contents

ImL1s/flutter-claude-skills/tree/main/skills/flutter-listview-viewport-gotchas commit e1a081fffe

Frequently asked questions

npx skillmds@latest add iml1s/flutter-listview-viewport-gotchas