DurationEditingController constructor
DurationEditingController({})
Implementation
DurationEditingController({
Duration? duration,
String yearSuffix = 'y',
String monthSuffix = 'M',
String daySuffix = 'd',
String hourSuffix = 'h',
String minuteSuffix = 'm',
String secondSuffix = 's',
String millisecondSuffix = 'ms',
}) : super(
validator: DurationValidator(
yearSuffix: yearSuffix,
monthSuffix: monthSuffix,
daySuffix: daySuffix,
hourSuffix: hourSuffix,
minuteSuffix: minuteSuffix,
secondSuffix: secondSuffix,
millisecondSuffix: millisecondSuffix,
),
value: duration,
);