ScrollDatePicker constructor

const ScrollDatePicker({
  1. Key? key,
  2. required DateTime initialDate,
  3. DateTime? minDate,
  4. DateTime? maxDate,
  5. ValueChanged<DateTime>? onDateChanged,
  6. double wheelHeight = 200,
  7. double itemExtent = 40,
  8. bool showYear = true,
  9. bool showConfirmButton = false,
  10. ValueChanged<DateTime>? onConfirm,
})

Implementation

const ScrollDatePicker({
  super.key,
  required this.initialDate,
  this.minDate,
  this.maxDate,
  this.onDateChanged,
  this.wheelHeight = 200,
  this.itemExtent = 40,
  this.showYear = true,
  this.showConfirmButton = false,
  this.onConfirm,
});