LinearProgressIndicatorTheme class

Theme configuration for LinearProgressIndicator components.

Provides comprehensive visual styling properties for linear progress indicators including colors, sizing, border radius, and visual effects. These properties integrate with the design system and can be overridden at the widget level.

The theme supports advanced features like spark effects for enhanced visual feedback and animation control for performance optimization scenarios.

Inheritance

Constructors

LinearProgressIndicatorTheme({Color? color, Color? backgroundColor, double? minHeight, BorderRadiusGeometry? borderRadius, bool? showSparks, bool? disableAnimation})
Creates a LinearProgressIndicatorTheme.
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 primary color of the progress indicator fill.
final
disableAnimation bool?
Whether to disable smooth progress animations.
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
showSparks bool?
Whether to display spark effects at the progress head.
final

Methods

copyWith({ValueGetter<Color?>? color, ValueGetter<Color?>? backgroundColor, ValueGetter<double?>? minHeight, ValueGetter<BorderRadiusGeometry?>? borderRadius, ValueGetter<bool?>? showSparks, ValueGetter<bool?>? disableAnimation}) LinearProgressIndicatorTheme
Returns 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