CircularProgressIndicatorTheme class
Theme configuration for CircularProgressIndicator components.
Provides visual styling properties for circular progress indicators including colors, sizing, and stroke characteristics. These properties integrate with the design system and can be overridden at the widget level.
All theme values respect the current theme's scaling factor and color scheme for consistent visual presentation across different screen densities and themes.
- Inheritance
-
- Object
- ComponentThemeData
- CircularProgressIndicatorTheme
Constructors
- CircularProgressIndicatorTheme({Color? color, Color? backgroundColor, double? size, double? strokeWidth})
-
Creates a CircularProgressIndicatorTheme.
const
Properties
- backgroundColor → Color?
-
The background color of the progress indicator track.
final
- color → Color?
-
The primary color of the progress indicator arc.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double?
-
The diameter size of the circular progress indicator.
final
- strokeWidth → double?
-
The width of the progress indicator stroke.
final
Methods
-
copyWith(
{ValueGetter< Color?> ? color, ValueGetter<Color?> ? backgroundColor, ValueGetter<double?> ? size, ValueGetter<double?> ? strokeWidth}) → CircularProgressIndicatorTheme - Creates a copy of this theme with the given fields replaced.
-
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.
override