reset method
Resets the controller to its initial state.
Implementation
@override
void reset() {
if (_selection case final DiscreteSelection discrete?) {
selection = DiscreteSelection(
ticks: discrete.ticks,
mainAxisExtent: discrete.rawExtent.total,
extent: _initialSelection.extent,
offset: _initialSelection.offset,
);
}
}