SimpleLoader constructor

const SimpleLoader({
  1. Key? key,
  2. double size = 32,
  3. double? strokeWidth,
  4. Color? backgroundColor,
  5. Color? color,
  6. Animation<Color?>? valueColor,
  7. bool center = false,
  8. EdgeInsetsGeometry? margin,
})

Implementation

const SimpleLoader({
  super.key,
  this.size = 32,
  double? strokeWidth,
  this.backgroundColor,
  this.color,
  this.valueColor,
  this.center = false,
  this.margin,
}) : strokeWidth = strokeWidth ?? size / 10;