Flutter

v1.0.1

Build performant cross-platform apps with Flutter widgets, state management, and platform integration.

5· 2.4k· 2 versions· 12 current· 12 all-time· Updated 4h ago· MIT-0
byIván@ivangdavila

Install

openclaw skills install flutter

Quick Reference

TopicFile
setState, state loss, keysstate.md
build method, context, GlobalKeywidgets.md
FutureBuilder, dispose, mountedasync.md
Context after pop, deep linkingnavigation.md
const, rebuilds, performanceperformance.md
Platform channels, null safetyplatform.md

Critical Rules

  • setState after dispose — check mounted before calling, crashes otherwise
  • Key missing on list items — reordering breaks state, always use keys
  • FutureBuilder rebuilds on parent rebuild — triggers future again, cache the Future
  • BuildContext after async gap — context may be invalid, check mounted first
  • const constructor — prevents rebuilds, use for static widgets
  • StatefulWidget recreated — key change or parent rebuild creates new state
  • GlobalKey expensive — don't use just to access state, pass callbacks instead
  • dispose incomplete — cancel timers, subscriptions, controllers
  • Navigator.pop with result — returns Future, don't ignore errors
  • ScrollController not disposed — memory leak
  • Image caching — use cached_network_image, default doesn't persist
  • PlatformException not caught — platform channel calls can throw

Version tags

latestvk973gxwdmxbtr1d3p3h7f1rk598159d8

Runtime requirements

🐦 Clawdis
OSLinux · macOS · Windows
Binsflutter