AppTimePicker constructor
const
AppTimePicker({
- Key? key,
- required TimeOfDay initialTime,
- ValueChanged<
TimeOfDay> ? onTimeChanged, - VoidCallback? onCancel,
- ValueChanged<
TimeOfDay> ? onApply, - Color? backgroundColor,
- TextStyle? headerTextStyle,
- Color? activeColor,
- Color? inactiveColor,
- Color? handColor,
- Color? dialBackgroundColor,
- Color? dialTextColor,
- Color? hourTrackColor,
- Color? minuteTrackColor,
- double? borderRadius,
- double elevation = 4,
- EdgeInsetsGeometry? padding,
Implementation
const AppTimePicker({
super.key,
required this.initialTime,
this.onTimeChanged,
this.onCancel,
this.onApply,
this.backgroundColor,
this.headerTextStyle,
this.activeColor,
this.inactiveColor,
this.handColor,
this.dialBackgroundColor,
this.dialTextColor,
this.hourTrackColor,
this.minuteTrackColor,
this.borderRadius,
this.elevation = 4,
this.padding,
});