MotionLoader constructor

const MotionLoader({
  1. Key? key,
  2. MotionLoaderType? type = MotionLoaderType.ai,
  3. Color? color,
  4. double size = 50.0,
  5. double strokeWidth = 3.0,
})

Creates a unified default MotionLoader instance.

Implementation

const MotionLoader({
  super.key,
  this.type = MotionLoaderType.ai,
  this.color,
  this.size = 50.0,
  this.strokeWidth = 3.0,
}) : _builder = null;