isDateInputRequired property
bool
get
isDateInputRequired
Whether date input is required. Since the input date is null, after
clearing date range, isDateInputRequired should be false when
_isClearRangeSelected
is true to avoid unnecessary input error check.
Implementation
bool get isDateInputRequired => !_isClearRangeSelected;