jumpToWithoutSettling method
- @Deprecated('This will lead to bugs.')
- @override
@Deprecated('This will lead to bugs.'), override
Deprecated. Use jumpTo or a custom ScrollPosition instead.
Implementation
@Deprecated('This will lead to bugs.')
@override
void jumpToWithoutSettling(double value) {
goIdle();
if (pixels != value) {
final double oldPixels = pixels;
forcePixels(value);
notifyListeners();
didStartScroll();
didUpdateScrollPositionBy(pixels - oldPixels);
didEndScroll();
}
}