Short answer
Do a hot restart (Shift+R in the terminal running flutter run, or the restart button in your IDE). If it comes back, stop the app and run flutter run again. If it still appears after a fresh run, the code really calls something that no longer exists: run flutter analyze and fix the error it reports.
Why hot reload can’t find the target, and the fix
01
A change hot reload can’t apply
“Hot restart loads code changes into the VM or the browser, and restarts the Flutter app, losing the app state.” Flutter, Hot reload
Renaming or deleting a top-level function, turning a function into a getter, changing static members, or swapping imports while the app runs can leave old code pointing at a member that is gone. A hot restart reloads all code and starts the app again.
# in the terminal running flutter run R # hot restart (capital R) # or stop with q, then: flutter run02
The code doesn’t compile
If a fresh flutter run still shows the error, the call really points at a missing member, for example after a package upgrade or a merge. flutter analyze lists the broken call; fix it there. In flutter test or build_runner, also make sure all packages resolve to one consistent set of versions.
flutter analyze flutter pub upgrade # then rerun flutter test or build_runner03
A stale build after switching branches
Switching git branches or upgrading packages with the app running can leave the running app on code that no longer matches the files. Stop the app, clean once if needed, and run again.
flutter clean flutter pub get flutter run
Checked against the vendor’s docs on : Flutter: Hot reload (and when to hot restart); Flutter issue #59005: Unimplemented handling of missing static target.
Rather hand it over?
Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.
- from $450App Fix TicketOne reproducible bug in an existing mobile or web app, diagnosed and fixed.See scope and start
- from $450AI-Built App RescueA Lovable, Bolt or Cursor app checked end to end in 3 days, then its worst problems fixed at a fixed price.No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way. This applies to the first 10 Launch Checks bought after October 30, 2026.See scope and start
Related: Flutter “:app:compileFlutterBuildDebug” failed · Flutter “can’t be accessed in an initializer” · Flutter MissingPluginException · Flutter “Target of URI doesn’t exist”