flutter_choice
flutter_choice copied to clipboard
How to change the display when passing in a list of objects and multiple select of objects?
I can make the control work with strings, but I need to pass in the list of objects, use the itemBuilder to create a widget from each object, and present that list to the user on the screen in the control. I'm using Choice.prompt but I can't find any way to customize the display before the user clicks to go modal and make their selection. How do I get it to stop doing .toString() on the object and allow me to customize it?