JJLoading constructor

JJLoading({
  1. Key? key,
  2. bool isValueListen = false,
  3. JJLoadingType loadingType = JJLoadingType.circularLoading,
  4. JJProgressType progressType = JJProgressType.circularProgress,
  5. Axis axis = Axis.vertical,
  6. Widget? loading,
  7. String? initialText,
  8. TextAlign textAlign = TextAlign.center,
  9. TextStyle? textStyle,
  10. double? value,
  11. Color? backgroundColor,
  12. Color? color,
  13. Animation<Color?>? valueColor,
  14. double radius = 20,
  15. AlignmentGeometry? alignment,
  16. EdgeInsetsGeometry? padding,
  17. Decoration? decoration,
  18. Decoration? foregroundDecoration,
  19. double? width,
  20. double? height,
  21. BoxConstraints? constraints,
  22. EdgeInsetsGeometry? margin,
  23. Matrix4? transform,
  24. AlignmentGeometry? transformAlignment,
  25. Widget? custom,
  26. 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);