SearchableDropdown<T extends Object> constructor
SearchableDropdown<T extends Object> ({
- Key? key,
- required Future<
List< remoteItems(T> ?>- String? search
- required T? value,
- required String itemLabelFormatter(
- T value
- void onChanged(
- T? value
- double? dropDownListHeight,
- double? dropDownListWidth,
- bool isEnabled = true,
- BorderRadius? borderRadius,
- double loadingIconSize = 20.0,
- TextInputType? keyboardType,
- double? cursorHeight,
- InputDecoration inputDecoration = const InputDecoration(),
Implementation
SearchableDropdown({
super.key,
required this.remoteItems,
required this.value,
required this.itemLabelFormatter,
this.onChanged,
this.dropDownListHeight,
this.dropDownListWidth,
this.isEnabled = true,
this.borderRadius,
this.loadingIconSize = 20.0,
this.keyboardType,
this.cursorHeight,
this.inputDecoration = const InputDecoration(),
});