flutter_seekbar
library
Classes
-
BasicSeekbar
-
要显示的刻度值
如果要自定义刻度值,数组中需要包含这个实体类
List
-
ProgressValue
-
回调的返回值
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}');
})
-
SectionTextModel
-
要显示的刻度值
如果要自定义刻度值,数组中需要包含这个实体类
List
-
SeekBar
-