LoaderOverlay constructor

const LoaderOverlay({
  1. Key? key,
  2. Widget overlayWidgetBuilder(
    1. dynamic progress
    )?,
  3. bool useDefaultLoading = useDefaultLoadingValue,
  4. Color? overlayColor,
  5. bool disableBackButton = true,
  6. bool overlayWholeScreen = true,
  7. double? overlayHeight,
  8. double? overlayWidth,
  9. bool closeOnBackButton = false,
  10. Duration duration = Duration.zero,
  11. Duration? reverseDuration = Duration.zero,
  12. Curve switchInCurve = Curves.linear,
  13. Curve switchOutCurve = Curves.linear,
  14. Widget transitionBuilder(
    1. Widget,
    2. Animation<double>
    ) = AnimatedSwitcher.defaultTransitionBuilder,
  15. Widget layoutBuilder(
    1. Widget?,
    2. List<Widget>
    ) = AnimatedSwitcher.defaultLayoutBuilder,
  16. bool useBackButtonInterceptor = !kIsWeb,
  17. 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);