BarLabelDecorator class

Constructors

BarLabelDecorator({BarLabelAnchor? labelAnchor, int labelPadding = 5, BarLabelPosition barLabelPosition = BarLabelPosition.auto})

Properties

barLabelPosition BarLabelPosition
Configures where to place the label relative to the bars.
default: BarLabelPosition.auto
final
hashCode int
The hash code for this object.
no setterinherited
labelAnchor BarLabelAnchor?
position label bar chart item
final
labelPadding int
Space before and after the label text.
default: 5
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRenderNumeric() → BarLabelDecorator<num>
getRenderOrdinal() → BarLabelDecorator<String>
getRenderTime() → BarLabelDecorator<DateTime>
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