ScrollPickerDialog<T> constructor

ScrollPickerDialog<T>({
  1. String? title,
  2. required List<T> items,
  3. required T? selectedItem,
  4. String? transformer(
    1. T item
    )?,
  5. Color? headerColor,
  6. Color? backgroundColor,
  7. double? maxLongSide,
  8. double? maxShortSide,
  9. String? confirmText,
  10. String? cancelText,
  11. TextStyle? headerTextStyle,
  12. TextStyle? confirmTextStyle,
  13. TextStyle? cancelTextStyle,
  14. Color? bottomBorderColor,
  15. bool? hideButtons,
  16. TextStyle? scrollItemTextStyle,
  17. 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,
});