DurationPicker constructor

const DurationPicker({
  1. Key? key,
  2. Duration duration = Duration.zero,
  3. required ValueChanged<Duration> onChange,
  4. BaseUnit baseUnit = BaseUnit.minute,
  5. Duration? upperBound,
  6. Duration? lowerBound,
  7. double? width,
  8. double? height,
  9. @Deprecated('This value was never used') double? snapToMins,
})

Implementation

const DurationPicker({
  Key? key,
  this.duration = Duration.zero,
  required this.onChange,
  this.baseUnit = BaseUnit.minute,
  this.upperBound,
  this.lowerBound,
  this.width,
  this.height,
  @Deprecated('This value was never used') this.snapToMins,
}) : super(key: key);