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