range property
DatepickerComparison?
get
range
Implementation
DatepickerComparison? get range => selection.value;
The selected date range and comparison.
This datepicker uses DatepickerComparison instead of plain DateRangeComparison objects -- this internal implementation adds extra needed features like names and next/prev support.
Implementation
@Input()
set range(DatepickerComparison? cmp) {
selection.value = _maybeStripComparison(cmp);
}