ScrollPickerDialog<T> constructor

ScrollPickerDialog<T>({
  1. String? title,
  2. required List<T> items,
  3. required T? selectedItem,
  4. Transformer<T>? transformer,
  5. Color? headerColor,
  6. Color? headerTextColor,
  7. Color? backgroundColor,
  8. Color? buttonTextColor,
  9. double? maxLongSide,
  10. double? maxShortSide,
  11. bool showDivider = false,
  12. String? confirmText,
  13. String? cancelText,
  14. bool cancelButtonVisible = true,
})

Implementation

ScrollPickerDialog({
  this.title,
  required this.items,
  required this.selectedItem,
  this.transformer,
  this.headerColor,
  this.headerTextColor,
  this.backgroundColor,
  this.buttonTextColor,
  this.maxLongSide,
  this.maxShortSide,
  this.showDivider = false,
  this.confirmText,
  this.cancelText,
  this.cancelButtonVisible = true,
});