Exception

======== Exception caught by widgets library ======================================================= The following _CompileTimeError was thrown building Builder: Unimplemented handling of missing static target The relevant error-causing widget was: MaterialApp MaterialApp:file:///C:/Users/Eddy/StudioProjects/XXX/lib/main.dart:23:18 When the exception was thrown, this was the stack: #0 new StatefulElement (package:flutter/src/widgets/framework.dart:4842:25) #1 StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:770:38) ... Normal element mounting (4 frames) #5 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3790:14) #6 Element.updateChild (package:flutter/src/widgets/framework.dart:3524:20) #7 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4780:16)

Solution

Back to previous page and move to the page again. You can also rebuild the app.