ProgressTheme class
Theme configuration for Progress components.
Provides visual styling properties for progress indicators including colors, border radius, and sizing constraints. These properties can be overridden at the widget level or applied globally via ComponentTheme.
The theme integrates seamlessly with the design system by leveraging theme scaling factors and color schemes for consistent visual presentation.
Constructors
- ProgressTheme.new({Color? color, Color? backgroundColor, BorderRadiusGeometry? borderRadius, double? minHeight})
-
Creates a ProgressTheme.
const
Properties
- backgroundColor → Color?
-
The background color behind the progress indicator.
final
- borderRadius → BorderRadiusGeometry?
-
The border radius of the progress indicator container.
final
- color → Color?
-
The foreground color of the progress indicator.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- minHeight → double?
-
The minimum height of the progress indicator.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ValueGetter< Color?> ? color, ValueGetter<Color?> ? backgroundColor, ValueGetter<BorderRadiusGeometry?> ? borderRadius, ValueGetter<double?> ? minHeight}) → ProgressTheme - Creates a copy of this theme but with the given fields replaced with the new values.
-
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