GSProgress class

A widget that displays a progress bar, indicating the completion of a task or the value of a process in a visually appealing manner. GSProgress supports customizable styles, sizes, and progress values.

Inheritance

Constructors

GSProgress.new({Key? key, GSStyle? style, GSProgressSizes? size, required double value, String? semanticsLabel, String? semanticsValue})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String?
An optional semantic label for the progress bar, providing accessibility support by describing what the progress bar represents.
final
semanticsValue String?
An optional semantic value for the progress bar, providing accessibility support by describing the current value of the progress in a readable format.
final
size GSProgressSizes?
The size of the progress bar, affecting its overall dimensions. This can be set to one of the predefined GSProgressSizes values.
final
style GSStyle?
Custom GSConfigStyle to apply to the progress bar, enabling detailed customization of its appearance, including colors and other properties.
final
value double
The current value of the progress bar, expressed as a fraction between 0 and 1, where 1 indicates 100% completion.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<GSProgress>
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