SectionTextModel class

要显示的刻度值 如果要自定义刻度值,数组中需要包含这个实体类 List

Constructors

SectionTextModel({int position = -1, String text = '', Color progressColor = Colors.transparent})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
position int
文字要显示的位置,from 0,从0开始
final
progressColor Color
进度条的这个值之前的颜色
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
要显示的文字
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