JJLoading constructor
JJLoading({
- Key? key,
- bool isValueListen = false,
- JJLoadingType loadingType = JJLoadingType.circularLoading,
- JJProgressType progressType = JJProgressType.circularProgress,
- Axis axis = Axis.vertical,
- Widget? loading,
- String? initialText,
- TextAlign textAlign = TextAlign.center,
- TextStyle? textStyle,
- double? value,
- Color? backgroundColor,
- Color? color,
- Animation<
Color?> ? valueColor, - double radius = 20,
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- Decoration? foregroundDecoration,
- double? width,
- double? height,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? margin,
- Matrix4? transform,
- AlignmentGeometry? transformAlignment,
- Widget? custom,
- Clip clipBehavior = Clip.none,
Implementation
JJLoading({
Key? key,
this.isValueListen = false,
this.loadingType = JJLoadingType.circularLoading,
this.progressType = JJProgressType.circularProgress,
this.axis = Axis.vertical,
///custom
this.loading,
///text
this.initialText,
this.textAlign = TextAlign.center,
this.textStyle,
this.value, //0-1
this.backgroundColor,
this.color,
this.valueColor,
this.radius = 20,
this.alignment,
this.padding,
this.decoration,
this.foregroundDecoration,
this.width,
this.height,
this.constraints,
this.margin,
this.transform,
this.transformAlignment,
this.custom,
this.clipBehavior = Clip.none,
}) : super(key: key);