ProgressIndicatorThemeData class

Defines the visual properties of ProgressIndicator widgets.

Used by ProgressIndicatorTheme to control the visual properties of progress indicators in a widget subtree.

To obtain this configuration, use ProgressIndicatorTheme.of to access the closest ancestor ProgressIndicatorTheme of the current BuildContext.

See also:

Mixed-in types
Annotations

Constructors

ProgressIndicatorThemeData({Color? color, Color? linearTrackColor, double? linearMinHeight, Color? circularTrackColor, Color? refreshBackgroundColor, BorderRadiusGeometry? borderRadius, Color? stopIndicatorColor, double? stopIndicatorRadius, double? strokeWidth, double? strokeAlign, StrokeCap? strokeCap, BoxConstraints? constraints, double? trackGap, EdgeInsetsGeometry? circularTrackPadding, @Deprecated('Use ProgressIndicatorTheme to customize the ProgressIndicator appearance. ' 'This feature was deprecated after v3.27.0-0.2.pre.') bool? year2023})
Creates the set of properties used to configure ProgressIndicator widgets.
const

Properties

borderRadius BorderRadiusGeometry?
Overrides the border radius of the ProgressIndicator.
final
circularTrackColor Color?
Color of the circular track being filled by the circular indicator.
final
circularTrackPadding EdgeInsetsGeometry?
Overrides the padding of the CircularProgressIndicator.
final
color Color?
The color of the ProgressIndicator's indicator.
final
constraints BoxConstraints?
Overrides the constraints of the CircularProgressIndicator.
final
hashCode int
The hash code for this object.
no setteroverride
linearMinHeight double?
The minimum height of the line used to draw the linear indicator.
final
linearTrackColor Color?
Color of the track being filled by the linear indicator.
final
refreshBackgroundColor Color?
Background color of that fills the circle under the refresh indicator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopIndicatorColor Color?
Overrides the stop indicator color of the LinearProgressIndicator.
final
stopIndicatorRadius double?
Overrides the stop indicator radius of the LinearProgressIndicator.
final
strokeAlign double?
Overrides the stroke align of the CircularProgressIndicator.
final
strokeCap StrokeCap?
Overrides the stroke cap of the CircularProgressIndicator.
final
strokeWidth double?
Overrides the stroke width of the CircularProgressIndicator.
final
trackGap double?
Overrides the active indicator and the background track.
final
year2023 bool?
Overrides the CircularProgressIndicator.year2023 and LinearProgressIndicator.year2023 properties.
final

Methods

copyWith({Color? color, Color? linearTrackColor, double? linearMinHeight, Color? circularTrackColor, Color? refreshBackgroundColor, BorderRadiusGeometry? borderRadius, Color? stopIndicatorColor, double? stopIndicatorRadius, double? strokeWidth, double? strokeAlign, StrokeCap? strokeCap, BoxConstraints? constraints, double? trackGap, EdgeInsetsGeometry? circularTrackPadding, bool? year2023}) ProgressIndicatorThemeData
Creates a copy of this object but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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

Static Methods

lerp(ProgressIndicatorThemeData? a, ProgressIndicatorThemeData? b, double t) ProgressIndicatorThemeData?
Linearly interpolate between two progress indicator themes.