SearchableDropdownController<T> class
Constructors
-
SearchableDropdownController({SearchableDropdownMenuItem<
T> ? initialItem})
Properties
-
futureRequest
↔ Future<
List< Function()?SearchableDropdownMenuItem< ?>T> > -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
↔ List<
SearchableDropdownMenuItem< ?T> > -
getter/setter pair
-
key
→ GlobalKey<
State< StatefulWidget> > -
final
- page → int
-
no setter
-
paginatedItemList
→ ValueNotifier<
List< SearchableDropdownMenuItem< ?>T> > -
final
-
paginatedRequest
↔ Future<
List< Function(int page, String? key)?SearchableDropdownMenuItem< ?>T> > -
getter/setter pair
- requestItemCount ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchedItems
→ ValueNotifier<
List< SearchableDropdownMenuItem< ?>T> > -
final
- searchText ↔ String
-
getter/setter pair
-
selectedItem
→ ValueNotifier<
SearchableDropdownMenuItem< T> ?> -
final
-
status
→ ValueNotifier<
SearchableDropdownStatus> -
final
Methods
-
clear(
) → void -
dispose(
) → void -
fillSearchedList(
String? value) → void -
getItemsWithFutureRequest(
) → Future< void> -
getItemsWithPaginatedRequest(
{required int page, String? key, bool isNewSearch = false}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited