Current Behavior
On flutterflow_ai SDK 0.0.36 (build 4fde6ae1, latest as of 2026-06-11), any flutterflow ai run (and validate / --dry-run) against a project that imports a library defining DataStructs fails at the compileDslApp task:
Bad state: Data struct "Feedback" was not found.
The same root cause surfaces in the generated typed SDK (lib/flutterflow_project/): schemas.dart and several components/*.dart files reference Structs.feedback, Structs.summary, Structs.contentPart — none of which exist on Structs because they're owned by the imported library — so the workspace fails dart analyze out of the box.
The DSL script being pushed is irrelevant. Our repro only edits three page-state defaults via state.ensureField(...) on a single page and never touches structs.
Expected Behavior
flutterflow_ai should resolve DataStruct (and Collection) references that point at structs owned by an imported library project. Specifically:
- Server-side
compileDslApp should walk imported library projects when looking up a struct by name.
- Typed-SDK codegen for
lib/flutterflow_project/schemas.dart and components/*.dart should emit qualified references for library-owned types instead of bare Structs.<name>.
Steps to Reproduce
- Bound FF AI workspace for a project that imports a library defining DataStructs (in our case project
H6nwSLCuGw6vy5iiRK6T importing aumio_library_iri1io, which defines Feedback, Summary, ContentPart, etc.).
- Author any
dsl/edit.dart — does not need to reference structs. Ours uses three state.ensureField(...) calls on a page:
app.editPageState(onboardingV220260526Handle, (state) {
state.ensureField('pageNames', listOf(string).withDefault(const <String>[ ... ]));
state.ensureField('onboardingLoginPageIndex', int_.withDefault(10));
state.ensureField('onboardingPostRegisterPageIndex', int_.withDefault(12));
});
flutterflow ai run dsl/edit.dart --project-id <id> --commit-message "...".
- Run fails at the
compileDslApp task after ~150ms with Bad state: Data struct "Feedback" was not found. No proto mutation; no remote change.
Also reproduces with flutterflow ai validate dsl/edit.dart and --dry-run.
Confirmation the structs do exist (in the library, not the main project):
generated_code/dependencies/aumio_library_iri1io/lib/backend/schema/structs/
feedback_struct.dart
summary_struct.dart
content_part_struct.dart
reply_option_struct.dart
session_struct.dart
message_struct.dart
translation_struct.dart
custom_duration_struct.dart
processing_state_struct.dart
week_range_struct.dart
index.dart
Local typed-SDK symptoms (same root cause):
dart analyze lib/flutterflow_project/ against the latest flutterflow ai refresh-context output reports:
schemas.dart: ContentRecommendation declares "feedback": Structs.feedback (line 448); Conversation declares "feedback": Structs.feedback (line 479). A partnerFeedback struct exists locally, but plain feedback does not.
components/reply_options.dart: Member not found: 'contentPart'
components/summary.dart: Member not found: 'summaries' — also a namespace bug: Collections.summaries exists, but the file references Structs.summaries, so the resolver may also be confusing struct vs collection namespaces for library-imported names.
components/summary_feedback_sheet.dart: Member not found: 'feedback', 'summary'
components/video_card_small.dart: Member not found: 'contentPart'
Reproducible from Blank
Not reproduced from a blank project yet — would require a blank project plus a blank library that defines at least one struct, with the main project referencing it. Happy to put one together if needed for investigation.
Bug Report Code
N/A — this is an FF AI SDK issue, not an FF editor / widget issue. The failure is in the SDK's struct-resolution path, not tied to any specific widget. Project ID H6nwSLCuGw6vy5iiRK6T is the affected project; the imported library is aumio_library_iri1io.
Visual documentation
N/A — CLI/SDK failure, no UI involved. Full run trace, support bundle, and case write-up are available locally and can be shared on request:
.flutterflow/traces/2026-06-11T14-50-10-528-s6t5cr.json
.flutterflow/support/exports/support-2026-06-11T14-50-10-528-s6t5cr/
.flutterflow/support/cases/case-2026-06-11T14-50-10-528-s6t5cr/
Environment
- flutterflow_ai SDK: 0.0.36 (build
4fde6ae1, released 2026-06-02)
- Dart: 3.10.8
- Platform: macOS (Darwin 25.5.0)
- Project:
H6nwSLCuGw6vy5iiRK6T (imports library aumio_library_iri1io)
Additional Information
This is a hard block — no DSL pushes succeed against any project that imports a library defining structs.
Workaround for local dart analyze only: import the specific page/component file directly instead of the flutterflow_project.dart barrel — bypasses the broken schemas.dart/components/*.dart but doesn't help the server compile. No workaround exists for the push path.
Current Behavior
On
flutterflow_aiSDK 0.0.36 (build4fde6ae1, latest as of 2026-06-11), anyflutterflow ai run(andvalidate/--dry-run) against a project that imports a library defining DataStructs fails at thecompileDslApptask:The same root cause surfaces in the generated typed SDK (
lib/flutterflow_project/):schemas.dartand severalcomponents/*.dartfiles referenceStructs.feedback,Structs.summary,Structs.contentPart— none of which exist onStructsbecause they're owned by the imported library — so the workspace failsdart analyzeout of the box.The DSL script being pushed is irrelevant. Our repro only edits three page-state defaults via
state.ensureField(...)on a single page and never touches structs.Expected Behavior
flutterflow_aishould resolve DataStruct (and Collection) references that point at structs owned by an imported library project. Specifically:compileDslAppshould walk imported library projects when looking up a struct by name.lib/flutterflow_project/schemas.dartandcomponents/*.dartshould emit qualified references for library-owned types instead of bareStructs.<name>.Steps to Reproduce
H6nwSLCuGw6vy5iiRK6Timportingaumio_library_iri1io, which definesFeedback,Summary,ContentPart, etc.).dsl/edit.dart— does not need to reference structs. Ours uses threestate.ensureField(...)calls on a page:flutterflow ai run dsl/edit.dart --project-id <id> --commit-message "...".compileDslApptask after ~150ms withBad state: Data struct "Feedback" was not found.No proto mutation; no remote change.Also reproduces with
flutterflow ai validate dsl/edit.dartand--dry-run.Confirmation the structs do exist (in the library, not the main project):
Local typed-SDK symptoms (same root cause):
dart analyze lib/flutterflow_project/against the latestflutterflow ai refresh-contextoutput reports:schemas.dart:ContentRecommendationdeclares"feedback": Structs.feedback(line 448);Conversationdeclares"feedback": Structs.feedback(line 479). ApartnerFeedbackstruct exists locally, but plainfeedbackdoes not.components/reply_options.dart:Member not found: 'contentPart'components/summary.dart:Member not found: 'summaries'— also a namespace bug:Collections.summariesexists, but the file referencesStructs.summaries, so the resolver may also be confusing struct vs collection namespaces for library-imported names.components/summary_feedback_sheet.dart:Member not found: 'feedback','summary'components/video_card_small.dart:Member not found: 'contentPart'Reproducible from Blank
Not reproduced from a blank project yet — would require a blank project plus a blank library that defines at least one struct, with the main project referencing it. Happy to put one together if needed for investigation.
Bug Report Code
N/A — this is an FF AI SDK issue, not an FF editor / widget issue. The failure is in the SDK's struct-resolution path, not tied to any specific widget. Project ID
H6nwSLCuGw6vy5iiRK6Tis the affected project; the imported library isaumio_library_iri1io.Visual documentation
N/A — CLI/SDK failure, no UI involved. Full run trace, support bundle, and case write-up are available locally and can be shared on request:
.flutterflow/traces/2026-06-11T14-50-10-528-s6t5cr.json.flutterflow/support/exports/support-2026-06-11T14-50-10-528-s6t5cr/.flutterflow/support/cases/case-2026-06-11T14-50-10-528-s6t5cr/Environment
4fde6ae1, released 2026-06-02)H6nwSLCuGw6vy5iiRK6T(imports libraryaumio_library_iri1io)Additional Information
This is a hard block — no DSL pushes succeed against any project that imports a library defining structs.
Workaround for local
dart analyzeonly: import the specific page/component file directly instead of theflutterflow_project.dartbarrel — bypasses the brokenschemas.dart/components/*.dartbut doesn't help the server compile. No workaround exists for the push path.