KLineDefaultLayoutNode<T> class

默认实现使用的布局节点。

Inheritance

Constructors

KLineDefaultLayoutNode({required int index, required T item, required Rect frame, required double centerX, required double bodyWidth, required double highY, required double lowY, required double openY, required double closeY, required Color candleColor})
const

Properties

bodyWidth → double
蜡烛实体宽度。
final
candleColor → Color
当前蜡烛使用的涨跌颜色。
final
center → Offset
节点中心点。
no setterinherited
centerX → double
带图表横向 padding 后的蜡烛中心 x 坐标。
final
closeY → double
收盘价 y 坐标。
final
frame → Rect
当前节点在横向滚动内容坐标系中的基础区域。
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
highY → double
最高价 y 坐标。
final
index → int
数据在 dataSource 中的原始下标。
finalinherited
item → T
dataSource 返回的业务数据对象。
finalinherited
lowY → double
最低价 y 坐标。
final
openY → double
开盘价 y 坐标。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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
The equality operator.
inherited