DatepickerSelection.test constructor

DatepickerSelection.test([
  1. DateRangeComparison? initialValue
])

Constructs a new selection. Intended for tests: this creates a new ObservableReference but doesn't give you any way of disposing of its streams, so it'd result in memory leaks in prod.

Implementation

DatepickerSelection.test([DateRangeComparison? initialValue])
    : _ref = ObservableReference(initialValue);