GTFLinearProgressIndicator class

Inheritance

Constructors

GTFLinearProgressIndicator({Key? key, double percent = 0.0, double? width, double lineHeight = 10, Color fillColor = GTFColor.transparent, Color backgroundColor = GTFColor.grey1, Color progressColor = GTFColor.orange4, Radius? barRadius, EdgeInsets padding = EdgeInsets.zero, EdgeInsets containerPadding = EdgeInsets.zero, MainAxisAlignment alignment = MainAxisAlignment.start, Widget? leftWidget, Widget? rightWidget})
const

Properties

alignment MainAxisAlignment
alignment:Row的对齐方式
final
backgroundColor Color
backgroundColor:进度条背景色
final
barRadius Radius?
barRadius:进度条圆角
final
containerPadding EdgeInsets
containerPadding:整个组件的内边距
final
fillColor Color
fillColor:组件背景色
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leftWidget Widget?
leftWidget:进度条左边的小组件
final
lineHeight double
lineHeight:进度条的高度
final
padding EdgeInsets
padding:进度条内边距
final
percent double
percent:百分比 0-1
final
progressColor Color
progressColor:进度条进度值的颜色
final
rightWidget Widget?
leftWidget:进度条右边的小组件
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
width:组件宽度
final

Methods

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