PointsLoader constructor

const PointsLoader({
  1. Key? key,
  2. double size = 80,
  3. Color color = Colors.white,
  4. int duration = 1500,
  5. double strokeWidth = 6,
})

Implementation

const PointsLoader(
    {super.key,
    this.size = 80,
    this.color = Colors.white,
    this.duration = 1500,
    this.strokeWidth = 6})
    : assert(size > 0 &&
          (strokeWidth < (size / 12) && strokeWidth > 0 && duration > 1000));