EditDurationScreen constructor

const EditDurationScreen({
  1. required Duration duration,
  2. required ValueChanged<Duration> onChanged,
  3. String title = 'Duration',
  4. Key? key,
})

Create an instance.

Implementation

const EditDurationScreen({
  required this.duration,
  required this.onChanged,
  this.title = 'Duration',
  super.key,
});