selection library

Classes

ChoiceConsumer<T>
ChoiceController<T>
Controller of the selection value and how it behaves
ChoiceData<T>
Choice data
ChoiceProvider<T>
ChoiceSearchController
Controller of the search value and how it behaves
ChoiceSingle

Extensions

ChoiceDataGeneration on List<T>
Helper to create list of ChoiceData from any list

Typedefs

ChoiceBuilder<T> = Widget Function(ChoiceController<T> state, Widget? child)
ChoiceDataProp<E, R> = R? Function(int index, E item)
Builder for option prop
ChoiceStateBuilder<T> = Widget Function(ChoiceController<T> state)
IndexedChoiceStateBuilder<T> = Widget Function(ChoiceController<T> state, int index)