OrderRenderer class

Renders professional TradingView-style horizontal dotted order lines, interactive pill badges, and connected Stop Loss (SL) and Take Profit (TP) brackets.

Constructors

OrderRenderer(ChartTheme theme)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theme → ChartTheme
final

Methods

drawOrders({required Canvas canvas, required Rect bounds, required List<ChartOrder> orders, required PriceRange priceRange}) → void
drawPositions({required Canvas canvas, required Rect bounds, required List<ChartPosition> positions, required PriceRange priceRange, required double currentPrice}) → void
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