SelectingWidget<T> constructor
const
SelectingWidget<T> ({
- Key? key,
- T? selectedValue,
- Widget searchBar(
- TextEditingController searchText
- required Widget itemBuilder(
- T value,
- int
- double? height,
- double? width,
- Offset? offset,
- bool addNone = false,
- void onOpen()?,
- required void onSelect(
- T value,
- int
- required Widget hintWidget,
- required ValueNotifier<
bool> isLoadingAll, - required ValueNotifier<
List< listNotifier,T> > - required BoxDecoration decoration,
- required ValueNotifier<
bool> isLoadingMore, - required Widget fullLoadingWidgetPlaceHolder,
- required Widget loadMoreWidgetPlaceHolder,
- required double hintHight,
Implementation
const SelectingWidget({
super.key,
this.selectedValue,
this.searchBar,
required this.itemBuilder,
this.height,
this.width,
this.offset,
this.addNone = false,
this.onOpen,
required this.onSelect,
required this.hintWidget,
required this.isLoadingAll,
required this.listNotifier,
required this.decoration,
required this.isLoadingMore,
required this.fullLoadingWidgetPlaceHolder,
required this.loadMoreWidgetPlaceHolder,
required this.hintHight,
});