GTFLoadingView constructor
const
GTFLoadingView({
- Key? key,
- String? text,
- int ballNum = 4,
- int duration = 2000,
- int? maxLines = 2,
- double radius = 4,
- double shadowBlur = 8,
- double boxMaxWidth = 105,
- double boxMinWidth = 105,
- double boxMaxHeight = double.infinity,
- double boxMinHeight = 74,
- double ballContainerWidth = 50,
- double animationBegin = 0.6,
- double animationEnd = 1,
- double animationDelay = 0.1,
- double? ballSize = 8,
- double? fontSize = GTFFont.caption,
- FontWeight? fontWeight = GTFFont.regular,
- EdgeInsets? boxPadding = const EdgeInsets.fromLTRB(12, 10, 12, 10),
- EdgeInsets? ballPadding = const EdgeInsets.fromLTRB(0, 8, 0, 8),
- EdgeInsets? textPadding = EdgeInsets.zero,
- Color? boxColor = GTFColor.black,
- Color? boxShadowColor,
- Color? ballColor = GTFColor.white,
- 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);