leftValue property

num get leftValue

The current value of the leftValue input in a 2 sided slider, defaults to 0.

When isTwoSided is true, then this represents the current value of the left slider knob. Must be between min and max, inclusive, a multiple of step and less than or equal to value.

Implementation

num get leftValue => isTwoSided ? _leftValue : min;
  1. @Input.new()
set leftValue (num val)

Implementation

@Input()
set leftValue(num val) {
  if (isTwoSided) {
    _leftValue = val;
  }
}