Can we access your project?
Current Behavior
flutterflow ai run fails on every push attempt with:
Error: Unsupported operation: Unsupported existing project data type: WidgetProperty
Thrown from compiler.dart:1730 (and identically :1954), in the switch that maps an existing project's stored FFBaseDataType to the compiler's DslType. WidgetProperty isn't a handled case, so it falls through to default: throw. This fires while the compiler reflects the existing project state, so it blocks any push regardless of what the edit script actually changes.
Root cause — confirmed by direct A/B test: the project has component params of FlutterFlow's Icon type (Button.icon, Button.iconEnd, TextField.leadingIcon, TextField.trailingIcon, NavItem.icon), which serialize as data type WidgetProperty. Removing all Icon-type params from every component made the error disappear on the next flutterflow ai run. Restoring them reproduced the exact original error.
Side effect discovered during testing: removing an Icon-type param does not clean up internal widget bindings that referenced it — the component's internal Icon widget stays bound to the deleted param, surfacing "Icon variable is not valid" errors 1:1 with removed params.
Environment: FlutterFlow AI SDK 0.0.40 (build 2c299209, confirmed latest), Dart 3.12.2, Windows 10, Project ID fuzzy-task-aebj4c.
Related: flutterflow ai codegen refresh on the same project fails identically with HTTP 400 "Error generating code for the project" — likely the same underlying gap.
Expected Behavior
flutterflow ai run should successfully push to any existing project accessible via the API key, including ones with Icon-type component parameters — a completely standard param type for buttons and text fields.
Steps to Reproduce
- Bind a workspace to a project containing at least one component param of type Icon (e.g. a Button component with an "icon" param).
- Run any edit push: flutterflow ai run dsl/edit.dart --project-id --commit-message "test" — even a no-op edit fails identically.
- Observe [FAIL] compileDslApp with the WidgetProperty error above.
- To verify: remove every Icon-type param from every component in the FlutterFlow editor, retry — the WidgetProperty error disappears. Restore the params — the original error returns exactly.
Reproducible from Blank
Bug Report Code (Required)
IT4gks/q+clJpbwA7aX2a+9VijwsHGV/UK00t9obbxAjIoDoPJkUac6kSEpWZ9+kTHxfMVu0iWoW0aH9iIbTLPk4YQSVR7pnyIdcQxXzXk+WMrrUFJWgYXAlI99hIWa40rungBJTLrJqdFIM3Tn7NtiuYATtJJDtC0dFDq/LZO4=
Visual documentation
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\auduser> cd C:\Users\auduser\FuzzyTask\fuzzytask
flutterflow ai run dsl/edit.dart --project-id fuzzy-task-aebj4c --commit-message "test"
Workspace binding: fuzzy-task-aebj4c.
Resolved target mode: existing (existing project fuzzy-task-aebj4c).
[FAIL] compileDslApp (323ms)
Error: Unsupported operation: Unsupported existing project data type: WidgetProperty
Recovery hints from previous failed run:
• Task "compileDslApp" failed: Unsupported operation: Unsupported existing project data type: WidgetProperty. Fix the error and re-run.
Error: Unsupported operation: Unsupported existing project data type: WidgetProperty
PS C:\Users\auduser\FuzzyTask\fuzzytask>
Environment
- FlutterFlow version: SDK 0.0.40 (build 2c299209)
- Platform: Windows Desktop / CLI
- Browser name and version: N/A (CLI-based, not browser)
- Operating system and version affected: Windows 10
Additional Information
No response
Can we access your project?
Current Behavior
flutterflow ai runfails on every push attempt with:Error: Unsupported operation: Unsupported existing project data type: WidgetProperty
Thrown from compiler.dart:1730 (and identically :1954), in the switch that maps an existing project's stored FFBaseDataType to the compiler's DslType. WidgetProperty isn't a handled case, so it falls through to
default: throw. This fires while the compiler reflects the existing project state, so it blocks any push regardless of what the edit script actually changes.Root cause — confirmed by direct A/B test: the project has component params of FlutterFlow's Icon type (Button.icon, Button.iconEnd, TextField.leadingIcon, TextField.trailingIcon, NavItem.icon), which serialize as data type WidgetProperty. Removing all Icon-type params from every component made the error disappear on the next
flutterflow ai run. Restoring them reproduced the exact original error.Side effect discovered during testing: removing an Icon-type param does not clean up internal widget bindings that referenced it — the component's internal Icon widget stays bound to the deleted param, surfacing "Icon variable is not valid" errors 1:1 with removed params.
Environment: FlutterFlow AI SDK 0.0.40 (build 2c299209, confirmed latest), Dart 3.12.2, Windows 10, Project ID fuzzy-task-aebj4c.
Related:
flutterflow ai codegen refreshon the same project fails identically with HTTP 400 "Error generating code for the project" — likely the same underlying gap.Expected Behavior
flutterflow ai runshould successfully push to any existing project accessible via the API key, including ones with Icon-type component parameters — a completely standard param type for buttons and text fields.Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4gks/q+clJpbwA7aX2a+9VijwsHGV/UK00t9obbxAjIoDoPJkUac6kSEpWZ9+kTHxfMVu0iWoW0aH9iIbTLPk4YQSVR7pnyIdcQxXzXk+WMrrUFJWgYXAlI99hIWa40rungBJTLrJqdFIM3Tn7NtiuYATtJJDtC0dFDq/LZO4=
Visual documentation
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\auduser> cd C:\Users\auduser\FuzzyTask\fuzzytask
Recovery hints from previous failed run:
• Task "compileDslApp" failed: Unsupported operation: Unsupported existing project data type: WidgetProperty. Fix the error and re-run.
Error: Unsupported operation: Unsupported existing project data type: WidgetProperty
PS C:\Users\auduser\FuzzyTask\fuzzytask>
Environment
Additional Information
No response