Skip to content
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

Simulator builds fail for both iOS and Android after flutter upgrade - Error: The non-abstract class 'ChipsInputState' is missing implementations for these members: - TextInputClient.currentAutofillScope #261

Closed
ochmist opened this issue Apr 24, 2020 · 7 comments
Labels
solved A solution for this issue had been found

Comments

@ochmist
Copy link

ochmist commented Apr 24, 2020

Hello, I am on the master channel, and I just ran flutter upgrade today and everything broke. I tried downgrading but that did not work. I am using vscode. Here are my tool versions:

Flutter 1.18.0-6.0.pre.106 • channel master • https://github.com/flutter/flutter.git Framework • revision 84c84fb249 (15 hours ago) • 2020-04-20 21:35:01 -0400 Engine • revision 2bde4f0ae4 Tools • Dart 2.9.0 (build 2.9.0-1.0.dev a12c36dd97)

code build done. 19.7s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ Compiler message: ../../../.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.8.0/lib/src/chips_input.dart:64: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.

This issue is a build blocker for us. Would appreciate a workaround if one exists.

@danvick
Copy link
Collaborator

danvick commented Apr 24, 2020

Hi @ochmist,
You could consider adding the latest version of flutter_chips_input to your pubspec.yaml so that it overrides the one being used by this package.

@JayPerfetto
Copy link

You can also circumvent this by simply implementing flutter_chips_input directly, which is a very simple change (removing the 'chip' attribute, and changing the class to from FormBuilderChipsInput to just ChipsInput)

@ochmist
Copy link
Author

ochmist commented Apr 25, 2020

Hi @ochmist,
You could consider adding the latest version of flutter_chips_input to your pubspec.yaml so that it overrides the one being used by this package.

This worked for me. Thank you very much.

@danvick danvick added the solved A solution for this issue had been found label May 1, 2020
@MaskyS
Copy link

MaskyS commented May 5, 2020

@danvick will this package's pubspec.yaml be updated soon to eliminate this issue? Edit: dumb question, sorry, forgot that I was using flutter dev

@jaxnz
Copy link

jaxnz commented Jun 15, 2020

Hello,

I'm getting this error
image
Is it related to the same one reported by OP?

Yes, easiest fix is to manually add flutter_chips_input: ^1.9.0-dev.3 to your pubspec.yaml

@danvick
Copy link
Collaborator

danvick commented Jun 15, 2020

Yes, it is.

@rvplauborg
Copy link

I had the same issue, came here and following @jaxnz input helped.

@danvick danvick closed this as completed Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved A solution for this issue had been found
Projects
None yet
Development

No branches or pull requests

6 participants