maxDate property
Date
get
maxDate
Implementation
Date get maxDate => _maxDate;
Dates later than maxDate
cannot be chosen.
Defaults to December 31, ten years in the future. Set this to the latest
date which makes sense in your domain context. e.g. For apps which analyse
historical data, this could be the current day. Changes to maxDate
are
only applied to the selected `range' when the user reopens the popup.
Implementation
@Input()
set maxDate(Date? date) {
_maxDate = date ?? Date.today();
model.maxDate = _maxDate;
}