DurationListTile constructor

const DurationListTile({
  1. required Duration duration,
  2. required ValueChanged<Duration> onChanged,
  3. String title = 'Duration',
  4. String screenTitle = 'Duration',
  5. bool autofocus = false,
  6. Duration? min,
  7. Duration? max,
  8. Key? key,
})

Create an instance.

Implementation

const DurationListTile({
  required this.duration,
  required this.onChanged,
  this.title = 'Duration',
  this.screenTitle = 'Duration',
  this.autofocus = false,
  this.min,
  this.max,
  super.key,
});