ModalProgressHUD constructor

ModalProgressHUD({
  1. Key? key,
  2. required bool inAsyncCall,
  3. double opacity = 0.3,
  4. Color color = Colors.grey,
  5. Widget progressIndicator = const CircularProgressIndicator(),
  6. Offset? offset,
  7. bool dismissible = false,
  8. required Widget child,
})

Implementation

ModalProgressHUD({
  Key? key,
  required this.inAsyncCall,
  this.opacity = 0.3,
  this.color = Colors.grey,
  this.progressIndicator = const CircularProgressIndicator(),
  this.offset,
  this.dismissible = false,
  required this.child,
})  : super(key: key);