progressWithinCurrentStep method

void progressWithinCurrentStep(
  1. double progressWithinStep
)

Implementation

void progressWithinCurrentStep(double progressWithinStep) {
  var weightedStep = getWeightCurrentStep();
  var progress = (weightedProgress + weightedStep * progressWithinStep) /
      totalAmountOfWeightedSteps;
  reportProgress(progress);
}