SlotPayline class final

赔付线,每列填写相对中心行的偏移;例如 const SlotPayline([0, 0, 0])。

Annotations

Constructors

SlotPayline(List<int> rowOffsets, {Color color = const Color(0xFFFFD700), double width = 3})
创建线;列表长度应与列数一致。
const

Properties

color → Color
线颜色。
final
hashCode → int
与字段值相等性一致的哈希值。
no setteroverride
rowOffsets → List<int>
每列行偏移,0 为中心,负数为前一行。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
线宽,逻辑像素。
final

Methods

copyWith({List<int>? rowOffsets, Color? color, double? width}) → SlotPayline
返回仅替换非 null 参数的副本;例如 value.copyWith() 保留全部配置。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
按字段值比较配置,列表按内容比较。
override