ProgressCallback typedef

ProgressCallback = void Function(double progress)

A callback that provides a setProgress function to update the button's progress state.

Implementation

typedef ProgressCallback = void Function(double progress);