movingStartMaintainsLength property

bool get movingStartMaintainsLength

Implementation

bool get movingStartMaintainsLength =>
    _movingStartMaintainsLength ?? _config.movingStartMaintainsLength;
  1. @Input()
set movingStartMaintainsLength (bool value)

For date range selection, whether clicking to move the start date should also move the end date (preserving the length of the selected range).

Defaults to DatepickerConfig.movingStartMaintainsLength if a DatepickerConfig object is provided through dependency injection.

Implementation

@Input()
set movingStartMaintainsLength(bool value) {
  _movingStartMaintainsLength = value;
}