TimePickerSpinner constructor

TimePickerSpinner({
  1. Key? key,
  2. DateTime? time,
  3. int minutesInterval = 1,
  4. int secondsInterval = 1,
  5. bool is24HourMode = true,
  6. bool isShowSeconds = false,
  7. TextStyle? highlightedTextStyle,
  8. TextStyle? normalTextStyle,
  9. double? itemHeight,
  10. double? itemWidth,
  11. AlignmentGeometry? alignment,
  12. double? spacing,
  13. bool isForce2Digits = false,
  14. TimePickerCallback? onTimeChange,
})

Implementation

TimePickerSpinner(
    {Key? key,
    this.time,
    this.minutesInterval = 1,
    this.secondsInterval = 1,
    this.is24HourMode = true,
    this.isShowSeconds = false,
    this.highlightedTextStyle,
    this.normalTextStyle,
    this.itemHeight,
    this.itemWidth,
    this.alignment,
    this.spacing,
    this.isForce2Digits = false,
    this.onTimeChange})
    : super(key: key);