resetScrollToZero method
Called to fix an error that the screen cannot be touched due to an incorrect scroll range when resizing the screen.
Implementation
@override
void resetScrollToZero() {
if ((scroll.bodyRowsVertical?.offset ?? 0) <= 0) {
scroll.bodyRowsVertical?.jumpTo(0);
}
if ((scroll.bodyRowsHorizontal?.offset ?? 0) <= 0) {
scroll.bodyRowsHorizontal?.jumpTo(0);
}
}