jumpToWithoutSettling method
- @Deprecated('This will lead to bugs.')
- @override
- double value
override
Deprecated. Use jumpTo or a custom ScrollPosition instead.
Implementation
@Deprecated('This will lead to bugs.') // flutter_ignore: deprecation_syntax, https://github.com/flutter/flutter/issues/44609
@override
void jumpToWithoutSettling(double value) {
goIdle();
if (pixels != value) {
final double oldPixels = pixels;
forcePixels(value);
didStartScroll();
didUpdateScrollPositionBy(pixels - oldPixels);
didEndScroll();
}
}