ProgressValue class

回调的返回值 SeekBar( progresseight: 5, value: 0.5, min: -10, max: 80, sectionCount: 4, sectionRadius: 6, sectionColor: Colors.red, hideBubble: false, alwaysShowBubble: true, bubbleRadius: 14, bubbleColor: Colors.purple, bubbleTextColor: Colors.white, bubbleTextSize: 14, bubbleMargin: 4, onValueChanged: (v) { print( '当前进度:${v.progress} ,当前的取值:${v.value}'); })

Constructors

ProgressValue({double value = 0.0, double progress = 0.0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
progress double
进度,如0.10,从0-1
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
真实的值,给定最小和最大值,否则返回的是宽度的值
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited