progressIndicatorWidgetBuilder method
Widget
progressIndicatorWidgetBuilder(
- BuildContext context,
- int index, {
- double? value,
inherited
Returns the progress indicator widget for the given index.
The default implementation returns a CircularProgressIndicator.
Override this method to customize the progress indicator.
The value parameter is the progress value between 0.0 and 1.0.
If value is null, the progress indicator is in indeterminate mode.
The index parameter is the index of the image being loaded.
The context parameter is the build context.
Implementation
Widget progressIndicatorWidgetBuilder(BuildContext context, int index,
{double? value}) {
return CircularProgressIndicator(
value: value,
);
}