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

Compiler error after upgrading to Flutter 2.13.0-0.2.pre (Beta channel) #107

Open
davebound opened this issue Apr 25, 2022 · 1 comment
Open

Comments

@davebound
Copy link

flutter build web --no-sound-null-safety

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

/C:/Users/Dave/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_chips_input-1.10.0/lib/src/chips_input.dart:84:7:
Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:

  • TextInputClient.insertTextPlaceholder
  • TextInputClient.removeTextPlaceholder
  • TextInputClient.showToolbar
@davebound
Copy link
Author

davebound commented Apr 25, 2022

Cause is this breaking change in flutter sdk: https://docs.flutter.dev/release/breaking-changes/scribble-text-input-client

Fix would be to add these methods to class ChipsInputState in chips_input.dart:

 @override
  void showToolbar() {}

  @override
  void insertTextPlaceholder(Size size) {}

  @override
  void removeTextPlaceholder() {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant