flutter_chips_input
flutter_chips_input copied to clipboard
Compiler error after upgrading to Flutter 2.13.0-0.2.pre (Beta channel)
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
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<T> in chips_input.dart:
@override
void showToolbar() {}
@override
void insertTextPlaceholder(Size size) {}
@override
void removeTextPlaceholder() {}