presetDates property

List<SingleDayRange> get presetDates

Implementation

List<SingleDayRange> get presetDates => _presetDates;
  1. @Input('predefinedDates')
set presetDates (List<SingleDayRange> preset)

A list of preset dates which the user can choose from.

Defaults is empty so any list is shown.

Implementation

@Input('predefinedDates')
set presetDates(List<SingleDayRange> preset) {
  _presetDates = preset;
  _updateLabel();
}