SpinningBarsLoader constructor
const
SpinningBarsLoader({})
Implementation
const SpinningBarsLoader(
{super.key,
this.size = 50,
this.barHeight = 14,
this.color = Colors.white,
this.duration = 1})
: assert(size > 0 && barHeight > 0 && barHeight < size && duration > 0,
'Size must be greater than 0, bar height must be greater than 0 and less than size, and duration must be greater than 0.');