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
SearchableChoice
gonna call.offset
andlimit
can be null in case of searching.searchKeyword
always 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.
SearchableChoice
gonna return data to this SearchableChoiceOnRowTap callback.