pageStep static method

double pageStep(
  1. double step,
  2. int? divisions
)

Coarser PageUp/PageDown step — ten stepSizes per page.

Implementation

static double pageStep(double step, int? divisions) {
  return step * math.max(1, (divisions ?? 100) ~/ 10);
}