LoaderOverlay constructor
const
LoaderOverlay({
- Key? key,
- Widget overlayWidgetBuilder(
- dynamic progress
- bool useDefaultLoading = useDefaultLoadingValue,
- Color? overlayColor,
- bool disableBackButton = true,
- bool overlayWholeScreen = true,
- double? overlayHeight,
- double? overlayWidth,
- bool closeOnBackButton = false,
- Duration duration = Duration.zero,
- Duration? reverseDuration = Duration.zero,
- Curve switchInCurve = Curves.linear,
- Curve switchOutCurve = Curves.linear,
- Widget transitionBuilder() = AnimatedSwitcher.defaultTransitionBuilder,
- Widget layoutBuilder() = AnimatedSwitcher.defaultLayoutBuilder,
- bool useBackButtonInterceptor = !kIsWeb,
- required Widget child,
Implementation
const LoaderOverlay({
Key? key,
this.overlayWidgetBuilder,
this.useDefaultLoading = useDefaultLoadingValue,
this.overlayColor,
this.disableBackButton = true,
this.overlayWholeScreen = true,
this.overlayHeight,
this.overlayWidth,
this.closeOnBackButton = false,
this.duration = Duration.zero,
this.reverseDuration = Duration.zero,
this.switchInCurve = Curves.linear,
this.switchOutCurve = Curves.linear,
this.transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
this.layoutBuilder = AnimatedSwitcher.defaultLayoutBuilder,
this.useBackButtonInterceptor = !kIsWeb,
required this.child,
}) : super(key: key);