scrollToTopByValue method
Implementation
void scrollToTopByValue(double offset) {
if (hasClients) {
final currentOffset = position.pixels;
if (currentOffset < 10) return;
jumpTo(
currentOffset + offset,
);
}
}
void scrollToTopByValue(double offset) {
if (hasClients) {
final currentOffset = position.pixels;
if (currentOffset < 10) return;
jumpTo(
currentOffset + offset,
);
}
}