The agent seems to think this is related to Antigravity IDE itself, and we cannot find the source of the issue. Here the final conclusion of the Agent. Log file raw error is at bottom
Based on the persistent error mentioning line 216 when your file only has 65 lines, and given that
flutter pub get
works fine, this appears to be abug in Antigravity IDE’s Flutter extensionrather than an actual issue with your project.
Recommended Solutions:
Option 1: Use the command line for Flutter operations Your Flutter installation is working perfectly via command line. You can continue development using:
-
flutter runto run your app
-
flutter testfor testing
-
The Dart analyzer is still working in Antigravity
Option 2: Try opening the project in VS Code If you have VS Code installed, try opening the same project there to see if the Flutter extension works properly.
Option 3: Report to Antigravity team This appears to be a bug in how Antigravity’s Flutter Daemon integration handles the pubspec parsing. The daemon is somehow seeing a different version of your pubspec.yaml file with 216+ lines.
For now, would you like me to help you run the app from the command line, or would you prefer to investigate the Antigravity extension issue further?
Log file
#0 Loader._loadMapping (package:yaml/src/loader.dart:165:9)
#1 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#2 Loader._loadMapping (package:yaml/src/loader.dart:163:19)
#3 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#4 Loader._loadDocument (package:yaml/src/loader.dart:68:20)
#5 Loader.load (package:yaml/src/loader.dart:60:20)
#6 loadYamlDocument (package:yaml/yaml.dart:69:25)
#7 loadYamlNode (package:yaml/yaml.dart:54:5)
#8 loadYaml (package:yaml/yaml.dart:41:5)
#9 FlutterManifest.createFromString (package:flutter_tools/src/flutter_manifest.dart:45:28)
#10 FlutterManifest.create…
[12:00:18 PM] [FlutterDaemon] [Warn] Prompting to reload: (The Flutter Daemon failed to start. Please review the log and file an issue on GitHub.) (actions: Restart Extension, Show Log)