GrowingArcLoader constructor
const
GrowingArcLoader({})
Implementation
const GrowingArcLoader({
super.key,
this.size = 80,
this.primaryColor = Colors.white,
this.arcColor = Colors.red,
this.strokeWidth = 6,
this.duration = 1500,
}) : assert(
size > 0 &&
strokeWidth > 0 &&
strokeWidth < (size / 12) &&
duration > 1000,
'Size must be greater than 0, strokeWidth must be positive and less than size / 12, and duration must be greater than 1000.');