New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter sdk 3.5.0 dart 2.19.0 报错如下: #278
Comments
我也遇到了,应该是flutter sdk版本差异,估计后面会适配,可以把flutter_version拉下来改一下 |
相同问题:环境(Flutter 3.7.5 • channel stable • https://github.com/flutter/flutter.git Failed to build iOS app |
Running Gradle task 'assembleDebug'...
../../../.pub-cache/git/fair-924617e27dce0e8d07de543b4e788a8354021a31/flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1838:31: Error: Method not found: 'FocusTrap'.
'FocusTrap': (props) => FocusTrap(
^^^^^^^^^
../../../.pub-cache/git/fair-924617e27dce0e8d07de543b4e788a8354021a31/flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1843:35: Error: Method not found: 'FocusTrapArea'.
'FocusTrapArea': (props) => FocusTrapArea(
^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
Where:
Script '/Users/dream/Desktop/sdk/flutter/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1168
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
The text was updated successfully, but these errors were encountered: