CircularAnimatedProgressBar class

Inheritance

Constructors

CircularAnimatedProgressBar.new({Key? key, double size = 150.0, double progress = .2, bool isShowProgress = true, Curve curve = Curves.linear, void onPressed()?, double waveHeight = 12, bool completedIsShowWave = true, String completedText = 'Completed', Color backgroundColor = const Color(0x0D2192F3), List<Color> colorsWave = const [Color(0x4D2196f3), Color(0x662196f3), Color(0xCC2196f3)], TextStyle showProgressTextStyle = const TextStyle(fontSize: 20, fontWeight: FontWeight.bold, color: Colors.white, shadows: [Shadow(offset: Offset(1, 1), blurRadius: .2, color: Colors.black26)])})
构造方法

Properties

backgroundColor Color
背景颜色
getter/setter pair
colorsWave List<Color>
波浪颜色&波浪层数 默认为蓝色 2、4、6 排序显示为 最上层为 6 、4 、2
getter/setter pair
completedIsShowWave bool
完成后是否显示波浪动画
final
completedText String
完成后的显示
final
curve Curve
动画曲线
final
hashCode int
The hash code for this object.
no setterinherited
isShowProgress bool
是否显示进度
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPressed ↔ void Function()?
getter/setter pair
progress double
进度
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showProgressTextStyle TextStyle
是否显示进度的样式
final
size double
大小
final
waveHeight double
波浪高度
final

Methods

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