ExplosionLoader constructor
const
ExplosionLoader({})
Implementation
const ExplosionLoader(
{super.key,
this.size = 150,
this.color = Colors.red,
this.radius = 25,
this.duration = 1000,
this.xInterval = 20,
this.yMax = 5})
: assert(radius >= 0 &&
size >= 0 &&
duration >= 0 &&
xInterval >= 0 &&
yMax > 0);