-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Failed to Compile - flutter_chips_input #277
Comments
Manually adding flutter_chips_input 1.9.0-dev.1 to pubspec has fixed the error, Could you update the dependencies for flutter_form_builder? |
Compiler message: /F:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.8.1/lib/src/chips_input.dart:65:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members: - TextInputClient.currentAutofillScope Try to either - provide an implementation, - inherit an implementation from a superclass or mixin, - mark the class as abstract, or - provide a 'noSuchMethod' implementation. class ChipsInputState extends State<ChipsInput> ^^^^^^^^^^^^^^^ /F:/flutter/packages/flutter/lib/src/services/text_input.dart:769:21: Context: 'TextInputClient.currentAutofillScope' is defined here. AutofillScope get currentAutofillScope; ^^^^^^^^^^^^^^^^^^^^ Compiler message: /F:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.8.1/lib/src/chips_input.dart:65:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members: - TextInputClient.currentAutofillScope Try to either - provide an implementation, - inherit an implementation from a superclass or mixin, - mark the class as abstract, or - provide a 'noSuchMethod' implementation. class ChipsInputState extends State<ChipsInput> ^^^^^^^^^^^^^^^ /F:/flutter/packages/flutter/lib/src/services/text_input.dart:769:21: Context: 'TextInputClient.currentAutofillScope' is defined here. AutofillScope get currentAutofillScope; ^^^^^^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed. FAILURE: Build failed with an exception. * Where: Script 'F:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'F:\flutter\bin\flutter.bat'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 9m 45s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm) |
Hi @sathishkumarjktech, The solution should work for those on Flutter channels ahead of stable. |
this fixes following issue. flutter-form-builder-ecosystem#277
Looks like an issue with flutter chips input causing my app not to compile as per my issue request:
flutter/flutter#57275
Sorry I posted in this repository but I saw you are the creator of it, and I use form builder rather than chips directly.
The text was updated successfully, but these errors were encountered: