SearchSelectSheet<T> constructor
const
SearchSelectSheet<T> ({
- Key? key,
- required List<
CustomSelectItem< items,T> > - required String title,
- double? dialogWidth,
- double? dialogHeight,
- String itemAsString(
- dynamic value
- InputDecoration? decoration,
- T? initialValue,
- required Color selectedItemColor,
- required String cancelText,
- Color? cancelBackgroundColor,
- TextStyle? cancelTextStyle,
- TextStyle? titleTextStyle,
- Color? itemBackgroundColor,
- Color? titleBackgroundColor,
- Color? separatorColor,
- required double separatorHeight,
- TextStyle? itemTextStyle,
- TextStyle? searchStyle,
- bool? isBarrierDismissible,
- TextStyle? selectedItemTextStyle,
- required void onSelectionChanged(
- T
Implementation
const SearchSelectSheet(
{Key? key,
required this.items,
required this.title,
this.dialogWidth,
this.dialogHeight,
this.itemAsString,
this.decoration,
this.initialValue,
required this.selectedItemColor,
required this.cancelText,
this.cancelBackgroundColor,
this.cancelTextStyle,
this.titleTextStyle,
this.itemBackgroundColor,
this.titleBackgroundColor,
this.separatorColor,
required this.separatorHeight,
this.itemTextStyle,
this.searchStyle,
this.isBarrierDismissible,
this.selectedItemTextStyle,
required this.onSelectionChanged})
: super(key: key);