copyWith method
ProgressOverlayState
copyWith({
- bool? isProgressShown,
- ProgressWidgetBuilder? progressWidgetBuilder()?,
- dynamic progress()?,
- bool? isOverlayShown,
Implementation
ProgressOverlayState copyWith({
bool? isProgressShown,
ProgressWidgetBuilder? Function()? progressWidgetBuilder,
dynamic Function()? progress,
bool? isOverlayShown,
}) {
return ProgressOverlayState(
isProgressShown: isProgressShown ?? this.isProgressShown,
progressWidgetBuilder: progressWidgetBuilder != null ? progressWidgetBuilder() : this.progressWidgetBuilder,
progress: progress != null ? progress() : this.progress,
isOverlayShown: isOverlayShown ?? this.isOverlayShown,
);
}