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:
- ProgressIndicatorTheme, an InheritedWidget that propagates the theme down its subtree.
- ThemeData.progressIndicatorTheme, which describes the defaults for any progress indicators as part of the application's ThemeData.
- Mixed in types
- Annotations
Constructors
- ProgressIndicatorThemeData({Color? color, Color? linearTrackColor, double? linearMinHeight, Color? circularTrackColor, Color? refreshBackgroundColor})
-
Creates the set of properties used to configure ProgressIndicator widgets.
const
Properties
- circularTrackColor → Color?
-
Color of the circular track being filled by the circular indicator.
final
- color → Color?
-
The color of the ProgressIndicator's indicator.
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
Methods
-
copyWith(
{Color? color, Color? linearTrackColor, double? linearMinHeight, Color? circularTrackColor, Color? refreshBackgroundColor}) → 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.