LinearLoader constructor

const LinearLoader({
  1. Key? key,
  2. required double size,
  3. Color? color,
  4. required Duration duration,
  5. Gradient? gradient,
  6. bool loop = true,
  7. double? progress,
  8. double strokeWidth = 6.0,
  9. bool showPercentage = false,
  10. Color? backgroundColor,
  11. BorderRadius? borderRadius,
})

Implementation

const LinearLoader({
  super.key,
  required super.size,
  super.color,
  required super.duration,
  super.gradient,
  super.loop,
  this.progress,
  this.strokeWidth = 6.0,
  this.showPercentage = false,
  this.backgroundColor,
  this.borderRadius,
});