CustomHourPicker constructor

const CustomHourPicker({
  1. Key? key,
  2. dynamic onPositivePressed(
    1. BuildContext context,
    2. DateTime time
    )?,
  3. dynamic onNegativePressed(
    1. BuildContext context
    )?,
  4. DateTime? date,
  5. DateTime? initDate,
  6. String? title,
  7. String? positiveButtonText,
  8. String? negativeButtonText,
  9. double? elevation,
  10. TextStyle? positiveButtonStyle,
  11. TextStyle? negativeButtonStyle,
  12. TextStyle? titleStyle,
})

Implementation

const CustomHourPicker({
  Key? key,
  this.onPositivePressed,
  this.onNegativePressed,
  this.date,
  this.initDate,
  this.title,
  this.positiveButtonText,
  this.negativeButtonText,
  this.elevation,
  this.positiveButtonStyle,
  this.negativeButtonStyle,
  this.titleStyle,
}) : super(key: key);