builder property

Widget Function(BuildContext context, DownloadWidgetController controller, DownloadWidgetState state, double? progress, Object? error, DownloadRequest? request) builder
final

Builder is required to build the UI based on current download state

Implementation

final Widget Function(
  BuildContext context,
  DownloadWidgetController controller,
  DownloadWidgetState state,
  double? progress,
  Object? error,
  DownloadRequest? request,
) builder;