SpinnerTimePicker constructor

const SpinnerTimePicker({
  1. Key? key,
  2. required TimeOfDay initialTime,
  3. DateTime? initialDate,
  4. required ValueChanged<TimeOfDay> onTimeChanged,
  5. ValueChanged<DateTime>? onDateChanged,
  6. DateTime? firstDate,
  7. DateTime? lastDate,
  8. required Color accentColor,
  9. required Color selectedBackgroundColor,
  10. Color? unselectedBackgroundColor,
  11. Color? unselectedTextColor,
  12. double? dateColumnWidth,
  13. double? timeColumnWidth,
  14. double? width,
  15. double? spinnerFontSize,
})

Implementation

const SpinnerTimePicker({
  Key? key,
  required this.initialTime,
  this.initialDate,
  required this.onTimeChanged,
  this.onDateChanged,
  this.firstDate,
  this.lastDate,
  required this.accentColor,
  required this.selectedBackgroundColor,
  this.unselectedBackgroundColor,
  this.unselectedTextColor,
  this.dateColumnWidth,
  this.timeColumnWidth,
  this.width,
  this.spinnerFontSize,
}) : super(key: key);