progress method

String progress(
  1. int current,
  2. int total
)

Implementation

String progress(int current, int total) =>
    stepProgress?.call(current, total) ?? 'Step $current of $total';