LoadingOverlay constructor

const LoadingOverlay({
  1. Key? key,
  2. required bool isLoading,
  3. required Widget child,
  4. String? message,
  5. Color? color,
  6. Color? backgroundColor,
  7. Widget? progressIndicator,
  8. TextStyle? messageStyle,
  9. double borderRadius = 12.0,
  10. EdgeInsetsGeometry padding = const EdgeInsets.all(24),
  11. bool dismissible = false,
  12. VoidCallback? onDismiss,
})

Implementation

const LoadingOverlay({
  super.key,
  required this.isLoading,
  required this.child,
  this.message,
  this.color,
  this.backgroundColor,
  this.progressIndicator,
  this.messageStyle,
  this.borderRadius = 12.0,
  this.padding = const EdgeInsets.all(24),
  this.dismissible = false,
  this.onDismiss,
});