CustomProgressHud constructor

const CustomProgressHud({
  1. Key? key,
  2. required Widget child,
  3. required bool isLoading,
  4. Widget? progressIndicator,
  5. Color? backgroundColor,
  6. double opacity = 0.6,
  7. Color color = Colors.black,
  8. bool dismissible = false,
  9. VoidCallback? onDismiss,
})

Creates a CustomProgressHud.

Implementation

const CustomProgressHud({
  super.key,
  required this.child,
  required this.isLoading,
  this.progressIndicator,
  this.backgroundColor,
  this.opacity = 0.6,
  this.color = Colors.black,
  this.dismissible = false,
  this.onDismiss,
});