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
Error in null saftey for change #86
Comments
import 'package:smart_select/src/model/chosen.dart';
.....
onChange: (S2SingleSelected<String?> value) {
....
} |
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. |
Work for me :) |
onChange : (selected){
}
while changing
[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type '(S2SingleSelected) => void' is not a subtype of type '((S2SingleSelected<String?>) => void)?'
E/flutter (10308): #0 S2SingleState.onChange
package:smart_select/src/widget.dart:1709
E/flutter (10308): #1 S2State.showModal
package:smart_select/src/widget.dart:1630
The text was updated successfully, but these errors were encountered: