LoadingPercentage constructor
const
LoadingPercentage({
- Key? key,
- required bool isLoading,
- required Widget child,
- Color backgroundColor = Colors.black54,
- Widget? overLoading,
- Duration timer = const Duration(seconds: 100),
- Color colorLoading = Colors.blue,
- Color colorBackgroudLoading = Colors.white,
- PaintingStyle paintingStyle = PaintingStyle.stroke,
- StrokeJoin strokeJoin = StrokeJoin.round,
- StrokeCap strokeCap = StrokeCap.round,
- double strokeWidth = 15.0,
- Color textColor = Colors.white,
- bool showProgress = true,
- Widget? bottomLoading,
- bool isLineLoading = true,
Implementation
const LoadingPercentage({
Key? key,
required this.isLoading,
required this.child,
this.backgroundColor = Colors.black54,
this.overLoading,
this.timer = const Duration(seconds: 100),
this.colorLoading = Colors.blue,
this.colorBackgroudLoading = Colors.white,
this.paintingStyle = PaintingStyle.stroke,
this.strokeJoin = StrokeJoin.round,
this.strokeCap = StrokeCap.round,
this.strokeWidth = 15.0,
this.textColor = Colors.white,
this.showProgress = true,
this.bottomLoading,
this.isLineLoading = true,
}) : super(key: key);