flutter_smart_select icon indicating copy to clipboard operation
flutter_smart_select copied to clipboard

Filter: how to change "No matches" text?

Open lore-co opened this issue 4 years ago • 2 comments

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!

lore-co avatar Feb 03 '21 10:02 lore-co

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.'),
              );
            },

minchemo avatar Aug 01 '21 18:08 minchemo

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?

vasilich6107 avatar Nov 12 '21 23:11 vasilich6107