Dial constructor

const Dial({
  1. Key? key,
  2. required Duration startDuration,
  3. required ValueChanged<Duration> onChanged,
  4. BaseUnit baseUnit = BaseUnit.minute,
  5. double? snapToMins = 1.0,
})

Implementation

const Dial(
    {super.key,
    required this.startDuration,
    required this.onChanged,
    this.baseUnit = BaseUnit.minute,
    this.snapToMins = 1.0});