pageStep static method
Larger keyboard step: one division, or 10% of the range when continuous.
Implementation
static double pageStep(double step, int? divisions) {
if (divisions != null && divisions > 0) {
return step;
}
return step * 10;
}