halfPageUp method

ViewportModel halfPageUp()

Moves up by half a page.

Implementation

ViewportModel halfPageUp() {
  if (atTop || height == null) return this;
  return scrollUp(height! ~/ 2);
}