AppLinearLoading class final

The App Linear Loading widget — barra de progresso linear.

Indeterminada por padrão (anima via controller; sob reduce-motion fica estática, sem travar pumpAndSettle). Informe value (0..1) para o modo determinado: a barra preenche value da largura, sem animação.

Example:

AppLinearLoading()            // indeterminada
AppLinearLoading(value: 0.7)  // 70%
Inheritance

Constructors

AppLinearLoading({Color? backgroundColor, Color? color, double height = AppSizes.s4, double? value, Key? key})
const

Properties

backgroundColor Color?
Cor do trilho (parte não preenchida). Default surfaceContainer — um passo de tom perceptível sobre a surface (o surface sumia no dark).
final
color Color?
Cor do preenchimento. Default focusRing — o acento primário do DS resolvido por brilho para contrastar ≥3:1 com a superfície (o primary base é escuro demais como acento sobre a surface escura).
final
hashCode int
The hash code for this object.
no setterinherited
height double
The minimum height of the loading indicator. Defaults to AppSizes.s4.
final
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
value double?
Progresso 0..1. Quando null (padrão), a barra é indeterminada (animada); quando definido, é determinada (estática, preenche value).
final

Methods

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