disabled property

  1. @HostBinding('class.disabled')
bool get disabled
override

Implementation

@HostBinding('class.disabled')
bool get disabled => _disabled;
  1. @Input()
set disabled (bool? value)
override

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();
}