SimpleLoader constructor

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

Implementation

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