flutter_smart_select
flutter_smart_select copied to clipboard
Filter: how to change "No matches" text?
Is it possible to add the possibility of changing the "no matches" text that the filter automatically display? It would be great for localization needs. Thanks!
There is a choiceEmptyBuilder , it is simply to use it.
choiceEmptyBuilder: (context, value) {
return Container(
padding: EdgeInsets.all(20.0),
child: Text('Custom No Search Result.'),
);
},
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?