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<SearchableChoiceDataRow<T>>> Function(int? offset, int? limit, String? searchKeyword)
SearchableChoiceFetcher is a callback type that the SearchableChoice gonna call. offset and limit 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.