progress_builder library

Enums

ActionType
At the moment only start, but may add cancel in the future

Typedefs

ActionController = StreamController<ActionType>
ErrorCallback = void Function(Object error)
ProgressAction = Future<void> Function(ProgressCallback )
ProgressCallback = void Function(double? progress)
The call back from action to notify about the progress
ProgressChildWidgetBuilder = Widget Function(BuildContext context, void action()?, Object? error)
Builds a widget in the non-progress/loading state
ProgressIndicatorWidgetBuilder = Widget Function(BuildContext context, [double? progress])
Builds a progress indicator with double progress