SpinnerTimePicker constructor
const
SpinnerTimePicker({
- Key? key,
- required TimeOfDay initialTime,
- DateTime? initialDate,
- required ValueChanged<
TimeOfDay> onTimeChanged, - ValueChanged<
DateTime> ? onDateChanged, - DateTime? firstDate,
- DateTime? lastDate,
- required Color accentColor,
- required Color selectedBackgroundColor,
- Color? unselectedBackgroundColor,
- Color? unselectedTextColor,
- double? dateColumnWidth,
- double? timeColumnWidth,
- double? width,
- 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);