ProgressHUD constructor

ProgressHUD({
  1. required Widget child,
  2. Color indicatorColor = Colors.white,
  3. Widget? indicatorWidget,
  4. Color backgroundColor = Colors.black54,
  5. Radius backgroundRadius = const Radius.circular(8.0),
  6. Color borderColor = Colors.white,
  7. double borderWidth = 0.0,
  8. bool barrierEnabled = true,
  9. Color barrierColor = Colors.black12,
  10. TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 14.0),
  11. EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
})

Implementation

ProgressHUD(
    {required this.child,
    this.indicatorColor = Colors.white,
    this.indicatorWidget,
    this.backgroundColor = Colors.black54,
    this.backgroundRadius = const Radius.circular(8.0),
    this.borderColor = Colors.white,
    this.borderWidth = 0.0,
    this.barrierEnabled = true,
    this.barrierColor = Colors.black12,
    this.textStyle = const TextStyle(color: Colors.white, fontSize: 14.0),
    this.padding = const EdgeInsets.all(16.0)});