Can we access your project?
Current Behavior
FlutterFlow is currently generating a pubspec.yaml and source code combination that is completely uncompilable in CI/CD environments. There is a paradox involving Flutter SDK versions:
On Flutter 3.24: The build fails with the error The class 'IconData' can't be extended outside of its library because it's a final class. This occurs because Flutter 3.24 made IconData final, requiring font_awesome_flutter v11+ (which uses FaIconData). However, FlutterFlow's code generator still emits the old syntax (using standard IconData), causing it to fetch older broken versions like 10.7.0.
On Flutter 3.22: If we downgrade to 3.22 to escape the IconData bug, the build fails during pub get because FlutterFlow generates dependencies like webview_flutter: 4.13.0 and video_player_android: 2.7.2 which strictly require Dart 3.5.0 (Flutter 3.24).
The generated code essentially demands Flutter 3.24 for its plugins but forbids Flutter 3.24 due to its source code syntax.
Expected Behavior
Expected Behavior
FlutterFlow should generate code that compiles successfully on a single, stable version of the Flutter SDK without requiring manual pubspec.yaml manipulation or dependency overrides. The generated font_awesome_flutter implementation should be updated to support Flutter 3.24+ (using FaIconData), or the generated plugin dependencies should be constrained to versions compatible with Flutter 3.22.
Steps to Reproduce
Steps to Reproduce
Export a FlutterFlow project that includes a WebView widget and FontAwesome icons.
Attempt to build the exported code locally or in a CI/CD pipeline using Flutter 3.24. Observe the IconData compile error.
Attempt to build the same code using Flutter 3.22.2. Observe the version solving failed error during pub get due to webview_flutter requiring Dart 3.5.0.
Reproducible from Blank
Bug Report Code (Required)
IT4klvLlvJRgobxY0LrfbcBWnmMWKXoiTL07ttYbZxUjIuPtBJh/P+LSRBBtZ7GqS2lhHE7/nk0K+ujnj4XDA/cDNQ+rQJRqzJFuFAKXJHq8RLKlCquWZ0dCTMBQIGKa5raZrSNCVcV1cnAu3TmIJ/CiSizDJ5+/Zwh9f6PHaOI=
Visual documentation
Environment
FlutterFlow version: 7.0.23
Platform: Web / Exported Code
Browser name and version: N/A (CI/CD Pipeline)
Operating system and version affected: Ubuntu / MacOS (GitHub Actions runner)
Additional Information
We are currently attempting to bypass this issue in our CI/CD pipeline by intercepting the pubspec.yaml with a Python script and forcibly setting all third-party dependencies to any so that older, Dart 3.4-compatible versions are resolved. However, this is extremely brittle and requires an official fix to the code generator to align the required SDKs. also it's not currently working...
Can we access your project?
Current Behavior
FlutterFlow is currently generating a pubspec.yaml and source code combination that is completely uncompilable in CI/CD environments. There is a paradox involving Flutter SDK versions:
On Flutter 3.24: The build fails with the error The class 'IconData' can't be extended outside of its library because it's a final class. This occurs because Flutter 3.24 made IconData final, requiring font_awesome_flutter v11+ (which uses FaIconData). However, FlutterFlow's code generator still emits the old syntax (using standard IconData), causing it to fetch older broken versions like 10.7.0.
On Flutter 3.22: If we downgrade to 3.22 to escape the IconData bug, the build fails during pub get because FlutterFlow generates dependencies like webview_flutter: 4.13.0 and video_player_android: 2.7.2 which strictly require Dart 3.5.0 (Flutter 3.24).
The generated code essentially demands Flutter 3.24 for its plugins but forbids Flutter 3.24 due to its source code syntax.
Expected Behavior
Expected Behavior
FlutterFlow should generate code that compiles successfully on a single, stable version of the Flutter SDK without requiring manual pubspec.yaml manipulation or dependency overrides. The generated font_awesome_flutter implementation should be updated to support Flutter 3.24+ (using FaIconData), or the generated plugin dependencies should be constrained to versions compatible with Flutter 3.22.
Steps to Reproduce
Steps to Reproduce
Export a FlutterFlow project that includes a WebView widget and FontAwesome icons.
Attempt to build the exported code locally or in a CI/CD pipeline using Flutter 3.24. Observe the IconData compile error.
Attempt to build the same code using Flutter 3.22.2. Observe the version solving failed error during pub get due to webview_flutter requiring Dart 3.5.0.
Reproducible from Blank
Bug Report Code (Required)
IT4klvLlvJRgobxY0LrfbcBWnmMWKXoiTL07ttYbZxUjIuPtBJh/P+LSRBBtZ7GqS2lhHE7/nk0K+ujnj4XDA/cDNQ+rQJRqzJFuFAKXJHq8RLKlCquWZ0dCTMBQIGKa5raZrSNCVcV1cnAu3TmIJ/CiSizDJ5+/Zwh9f6PHaOI=
Visual documentation
Environment
Additional Information
We are currently attempting to bypass this issue in our CI/CD pipeline by intercepting the pubspec.yaml with a Python script and forcibly setting all third-party dependencies to any so that older, Dart 3.4-compatible versions are resolved. However, this is extremely brittle and requires an official fix to the code generator to align the required SDKs. also it's not currently working...