GradientCircularProgressIndicator class

A circular progress indicator with gradient effect.

Inheritance

Constructors

GradientCircularProgressIndicator({Key? key, required double radius, double stokeWidth = 2.0, List<Color>? colors, List<double>? stops, bool strokeCapRound = false, Color backgroundColor = const Color(0xFFEEEEEE), double totalAngle = 2 * pi, Color? fullColor, double? value})
const

Properties

backgroundColor Color
The progress indicator's background color. The current theme's Color(0xFFEEEEEE) by default.
final
colors List<Color>?
The colors the gradient should obtain at each of the stops.
final
fullColor Color?
The progress color when value is 1.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
radius double
The radius of the GradientCircularProgressIndicator
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stokeWidth double
The width of the line used to draw the circle.
final
stops List<double>?
A list of values from 0.0 to 1.0 that denote fractions along the gradient.
final
strokeCapRound bool
The kind of finish to place on the end of arc drawn . if true, StrokeCap.round will be set to Paint.strokeCap.
final
totalAngle double
The total angle of the progress. Defaults to 2*pi (entire circle)
final
value double?
The value of this progress indicator with 0.0 corresponding to no progress having been made and 1.0 corresponding to all the progress having been made.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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