LedgerPlotLabel class

One label of a plot, placed as the source places its HTML over the SVG (style="left:…%;top:…%" in the plot's own units): its box's start at left (or its end at right from the plot's end), its top at top, then moved by shift of its own size (CSS's translate(-100%, -50%) is Offset(-1, -.5)). Plumbing of the engravings.

Constructors

LedgerPlotLabel({required double top, required Widget child, double? left, double? right, Offset shift = Offset.zero})
A label holding child, placed at left or right and top.
const

Properties

child → Widget
The label's words.
final
hashCode → int
The hash code for this object.
no setterinherited
left → double?
Where the label's start stands, in the plot's units.
final
Where the label's end stands from the plot's end, when left is null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shift → Offset
How far the label moves by its own size (Offset(-1, -.5) is CSS's translate(-100%, -50%)).
final
top → double
Where the label's top stands, in the plot's units.
final

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