RangeController constructor
Creates a new instance of RangeController.
The start
represents the currently selected value of the range selector.
The left thumb of the range selector was drawn
corresponding to this value.
The end
represents the currently selected value of the range selector.
The right thumb of the range selector was drawn
corresponding to this value.
start
and end
Implementation
RangeController({@required dynamic start, @required dynamic end})
: assert(start != null),
assert(end != null),
_previousStart = start,
_previousEnd = end,
_start = start,
_end = end;