getClosestStepSize method

  1. @override
int getClosestStepSize(
  1. int stepSize
)

Find the closet step size, from provided step size, in milliseconds.

Implementation

@override
int getClosestStepSize(int stepSize) =>
    timeStepper.typicalStepSizeMs *
    _getClosestIncrementFromStepSize(stepSize);