dateRangeMinimumDateLimitLabel method

  1. @override
String dateRangeMinimumDateLimitLabel(
  1. Duration duration
)
override

The label used for the minimum time limit in the date range picker.

Implementation

@override
String dateRangeMinimumDateLimitLabel(Duration duration) {
  final String time = formatDuration(duration);
  return 'The difference between the start time and end time must be greater '
      'than $time';
}