ProgressHUD constructor
ProgressHUD({
- required Widget child,
- Color indicatorColor = Colors.white,
- Widget? indicatorWidget,
- Color backgroundColor = Colors.black54,
- Radius backgroundRadius = const Radius.circular(8.0),
- Color borderColor = Colors.white,
- double borderWidth = 0.0,
- bool barrierEnabled = true,
- Color barrierColor = Colors.black12,
- TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 14.0),
- 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)});