CircularProgressIndicator class

A circular (ring) progress indicator.

Displays a rotating arc or static fill to represent progress value (0.0–1.0). Use CircularProgressIndicator.adaptive for platform-specific styling.

Inheritance

Constructors

CircularProgressIndicator({Key? key, Color? color, Color? backgroundColor, String? label, Duration speed = const Duration(milliseconds: 80), List<String>? frames})
Creates a CircularProgressIndicator.
const

Properties

backgroundColor Color?
The background color behind the spinner.
final
color Color?
The color of the spinner character.
final
frames List<String>?
Custom animation frames; defaults to a Braille-dot spinner sequence.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another in the tree.
finalinherited
label String?
An optional label displayed to the right of the spinner.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed Duration
The duration each frame is displayed before advancing.
final

Methods

createElement() StatefulElement
Creates the Element for this widget.
inherited
createState() State<CircularProgressIndicator>
Creates the mutable state for this widget.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited