You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Update Existing Code dialog depends on the value of appModel.appType to determine if the user is updating Dart or Flutter code. However, it appears as if the user's Flutter code hasn't been executed, the value of appModel.appType will be reported as Dart instead of Flutter. This sometimes causes the LLM to translate the user's code from Flutter to Dart during the update process.
Steps to reproduce problem
Choose Samples | Hello World and execute the program to reset appModel.appType to Dart.
Choose Samples | Counter and be careful NOT to execute the program.
Choose Gemini | Update Code and the Update Existing Code dialog will think that the Flutter Counter app code is Dart and not Flutter.
Browser
Google Chrome
Version 133.0.6943.142 (Official Build) (arm64)
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)? No
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
<meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes">Understand this warningAI
111Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.
Machine
Operating system: macOS
Version: 15.3.1 (24D70)
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
What happened?
The Update Existing Code dialog depends on the value of
appModel.appType
to determine if the user is updating Dart or Flutter code. However, it appears as if the user's Flutter code hasn't been executed, the value ofappModel.appType
will be reported as Dart instead of Flutter. This sometimes causes the LLM to translate the user's code from Flutter to Dart during the update process.Steps to reproduce problem
appModel.appType
to Dart.Browser
Google Chrome
Version 133.0.6943.142 (Official Build) (arm64)
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)? No
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
Machine
Operating system: macOS
Version: 15.3.1 (24D70)
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
DartPad's output
Did DartPad print anything to the console pane? If so, paste it below:
If you were running Flutter code, you can also paste an image of the
Flutter output directly into this bug report.
The text was updated successfully, but these errors were encountered: