AppTimePicker constructor

const AppTimePicker({
  1. Key? key,
  2. required TimeOfDay initialTime,
  3. ValueChanged<TimeOfDay>? onTimeChanged,
  4. VoidCallback? onCancel,
  5. ValueChanged<TimeOfDay>? onApply,
  6. Color? backgroundColor,
  7. TextStyle? headerTextStyle,
  8. Color? activeColor,
  9. Color? inactiveColor,
  10. Color? handColor,
  11. Color? dialBackgroundColor,
  12. Color? dialTextColor,
  13. Color? hourTrackColor,
  14. Color? minuteTrackColor,
  15. double? borderRadius,
  16. double elevation = 4,
  17. 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,
});