Flutter Perf Memory And Leaks

Use when memory climbs during normal use, the app is killed on low-memory devices, or a screen keeps working after it was closed. Investigates and fixes Flutter memory growth and leaks: undisposed controllers, focus nodes, timers and stream subscriptions, listeners never removed, BuildContext captured by async work or long-lived objects, unbounded image or data caches, and state that outlives its screen. Uses DevTools memory snapshots and leak tracking. Do not use for slow frames (flutter-perf-build-and-rebuild) or image decode size (flutter-perf-images-and-assets).

KinwiseNZ-DevOps Updated

File contents

KinwiseNZ-DevOps/flutter-optimiser commit d0593f3ddc

Frequently asked questions

npx get-skill add kinwisenz-devops/flutter-perf-memory-and-leaks