AuiProgress class

A progress indicator widget that supports both linear and circular styles, determinate and indeterminate modes, optional labels, and custom colors.

Use the named constructors AuiProgress.linear and AuiProgress.circular to create the respective variants.

Example — linear determinate at 60 %:

AuiProgress.linear(value: 0.6)

Example — circular indeterminate:

AuiProgress.circular()
Inheritance

Constructors

AuiProgress.circular({Key? key, double? value, Color? color, Color? backgroundColor, double strokeWidth = 4.0, double height = 6.0, String? label, double size = 48.0, bool animated = true})
Creates a circular progress indicator.
const
AuiProgress.linear({Key? key, double? value, Color? color, Color? backgroundColor, double strokeWidth = 4.0, double height = 6.0, String? label, double size = 48.0, bool animated = true})
Creates a linear progress bar.
const

Properties

animated bool
When true (the default), value changes for determinate indicators are smoothly animated. Has no effect on indeterminate indicators (they always animate).
final
backgroundColor Color?
Background color of the track.
final
color Color?
Foreground color of the progress bar / arc.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the linear track in logical pixels. Defaults to 6.0.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
Optional label text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
Diameter of the circular indicator in logical pixels. Defaults to 48.0.
final
strokeWidth double
Stroke width used for the circular variant. Defaults to 4.0.
final
value double?
Progress value between 0.0 and 1.0.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<AuiProgress>
Creates the mutable state for this widget at a given location in the tree.
override
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, int wrapWidth = 65}) 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