SelectSheet<T> constructor
const
SelectSheet<T> ({
- Key? key,
- required List<
CustomSelectItem< items,T> > - required String title,
- double? width,
- String itemAsString(
- dynamic value
- InputDecoration? decoration,
- String? validator()?,
- 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,
- bool? isBarrierDismissible,
- TextStyle? selectedItemTextStyle,
Implementation
const SelectSheet(
{Key? key,
required this.items,
required this.title,
this.width,
this.itemAsString,
this.decoration,
this.validator,
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.isBarrierDismissible,
this.selectedItemTextStyle})
: super(key: key);