CircularProgressIndicator constructor

const CircularProgressIndicator({
  1. Key? key,
  2. Color? color,
  3. Color? backgroundColor,
  4. String? label,
  5. Duration speed = const Duration(milliseconds: 80),
  6. List<String>? frames,
})

Creates a CircularProgressIndicator.

The speed controls how fast the spinner rotates. Override frames to provide custom animation frames (defaults to Braille spinner characters).

Implementation

const CircularProgressIndicator({
  super.key,
  this.color,
  this.backgroundColor,
  this.label,
  this.speed = const Duration(milliseconds: 80),
  this.frames,
});