modalFilterBuilder for custom search field?
I need to use custom TextField for filtering. I didn't found any example of doing that. Is there any way of using custom search field?
You should use modalFilterBuilder
return SmartSelect.single(
title: 'Use modalFilterBuilder',
value: value,
choiceItems: options,
modalFilter: true,
modalFilterBuilder: (ctx, cont) => TextField(cursorColor: Colors.red,),
onChange: (state){},
);
But you know if I can use this modalFilter to make some request in my api to return values to my screen?
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?
Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.