supportsCustomRange property

bool get supportsCustomRange

Whether or not this date range picker supports choosing custom range.

Calendar will be hidden when custom range is not supported. Custom range should be supported in "fullyLoaded" or "basic" mode.

Implementation

bool get supportsCustomRange =>
    configuration == DateRangePickerConfiguration.fullyLoaded ||
    configuration == DateRangePickerConfiguration.basic;