GTFLoadingView constructor

const GTFLoadingView({
  1. Key? key,
  2. String? text,
  3. int ballNum = 4,
  4. int duration = 2000,
  5. int? maxLines = 2,
  6. double radius = 4,
  7. double shadowBlur = 8,
  8. double boxMaxWidth = 105,
  9. double boxMinWidth = 105,
  10. double boxMaxHeight = double.infinity,
  11. double boxMinHeight = 74,
  12. double ballContainerWidth = 50,
  13. double animationBegin = 0.6,
  14. double animationEnd = 1,
  15. double animationDelay = 0.1,
  16. double? ballSize = 8,
  17. double? fontSize = GTFFont.caption,
  18. FontWeight? fontWeight = GTFFont.regular,
  19. EdgeInsets? boxPadding = const EdgeInsets.fromLTRB(12, 10, 12, 10),
  20. EdgeInsets? ballPadding = const EdgeInsets.fromLTRB(0, 8, 0, 8),
  21. EdgeInsets? textPadding = EdgeInsets.zero,
  22. Color? boxColor = GTFColor.black,
  23. Color? boxShadowColor,
  24. Color? ballColor = GTFColor.white,
  25. Color? textColor = GTFColor.white,
})

Implementation

const GTFLoadingView({
  Key? key,
  this.text,
  this.ballNum = 4,
  this.duration = 2000,
  this.maxLines = 2,
  this.radius = 4,
  this.shadowBlur = 8,
  this.boxMaxWidth = 105,
  this.boxMinWidth = 105,
  this.boxMaxHeight = double.infinity,
  this.boxMinHeight = 74,
  this.ballContainerWidth = 50,
  this.animationBegin = 0.6,
  this.animationEnd = 1,
  this.animationDelay = 0.1,
  this.ballSize = 8,
  this.fontSize = GTFFont.caption,
  this.fontWeight = GTFFont.regular,
  this.boxPadding = const EdgeInsets.fromLTRB(12, 10, 12, 10),
  this.ballPadding = const EdgeInsets.fromLTRB(0, 8, 0, 8),
  this.textPadding = EdgeInsets.zero,
  this.boxColor = GTFColor.black,
  this.boxShadowColor,
  this.ballColor = GTFColor.white,
  this.textColor = GTFColor.white,
}) : super(key: key);