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