selection property

FSliderSelection get selection

The slider's active track/selection.

Implementation

FSliderSelection get selection => _selection ?? _initialSelection;
  1. @internal
set selection (FSliderSelection? selection)

Implementation

@internal
set selection(FSliderSelection? selection) {
  if (selection == null || _selection == selection) {
    return;
  }

  _selection = selection;
  notifyListeners();
}