searchablechoice/components/resources library
Classes
-
SearchableChoiceDataRow<
T> - SearchableChoiceDataRow a class that contain SearchableChoice data.
- SearchableChoiceRowStyle
- SearchableChoiceRowStyle is a choice style.
Typedefs
- SearchableChoiceButtonChild = Widget Function({String? display})
- SearchableChoiceButtonChild is a type for the button.
-
SearchableChoiceFetcher<
T> = Future< List< Function(int? offset, int? limit, String? searchKeyword)SearchableChoiceDataRow< >T> > -
SearchableChoiceFetcher is a callback type that the
SearchableChoicegonna call.offsetandlimitcan be null in case of searching.searchKeywordalways null when the user doesn't search anything (search bar is empty). -
SearchableChoiceOnRowTap<
T> = void Function(T data) -
SearchableChoiceOnRowTap is a callback type when the user tap on a row.
SearchableChoicegonna return data to this SearchableChoiceOnRowTap callback.