DrawerContentTimePickerParams.withButton constructor

DrawerContentTimePickerParams.withButton({
  1. required dynamic buttonOnTap(
    1. int? hour,
    2. int? minute,
    3. int? second
    )?,
  2. String? buttonText,
  3. int? initValueHour,
  4. int? initValueMinute,
  5. int? initValueSecond,
  6. VentButtonStyle? buttonStyle,
  7. Color? overlayColor,
})

Implementation

DrawerContentTimePickerParams.withButton({
  required this.buttonOnTap,
  this.buttonText,
  this.initValueHour,
  this.initValueMinute,
  this.initValueSecond,
  this.buttonStyle,
  this.overlayColor,
})  : onChange = null,
      isUseButton = true;