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". Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/iml1s--flutter-claude-skills--flutter-listview-viewport-gotchas commit 41138efdda

Frequently asked questions

npx skillmds@latest add tomevault-io/flutter-listview-viewport-gotchas