disabled property
Implementation
@HostBinding('class.disabled')
bool get disabled => _disabled;
Whether changing the selected date range should be disabled.
Implementation
@Input()
set disabled(bool? value) {
_disabled = value ?? false;
// Hide popup if visible.
if (_popupVisible && disabled) close();
}