ScrollPickerDialog<T> constructor
ScrollPickerDialog<T> ({
- String? title,
- required List<
T> items, - required T? selectedItem,
- String? transformer(
- T item
- Color? headerColor,
- Color? backgroundColor,
- double? maxLongSide,
- double? maxShortSide,
- String? confirmText,
- String? cancelText,
- TextStyle? headerTextStyle,
- TextStyle? confirmTextStyle,
- TextStyle? cancelTextStyle,
- Color? bottomBorderColor,
- bool? hideButtons,
- TextStyle? scrollItemTextStyle,
- TextStyle? selectedItemTextStyle,
Implementation
ScrollPickerDialog({
this.title,
required this.items,
required this.selectedItem,
this.transformer,
this.headerColor,
this.backgroundColor,
this.maxLongSide,
this.maxShortSide,
this.confirmText,
this.cancelText,
this.headerTextStyle,
this.confirmTextStyle,
this.cancelTextStyle,
this.bottomBorderColor,
this.hideButtons,
this.scrollItemTextStyle,
this.selectedItemTextStyle,
});