ArcLabelDecorator class
Constructors
- ArcLabelDecorator({LabelStyle insideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.white), LabelStyle outsideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.black), ArcLabelLeaderLineStyle leaderLineStyle = const ArcLabelLeaderLineStyle(color: Colors.black, length: 20.0, thickness: 1.0), ArcLabelPosition labelPosition = ArcLabelPosition.auto, int labelPadding = 5, bool showLeaderLines = true})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- insideLabelStyle → LabelStyle
-
Configures
TextStyleSpec
for labels placed inside the arcs.final - labelPadding → int
-
Space before and after the label text.
final
- labelPosition → ArcLabelPosition
-
Configures where to place the label relative to the arcs.
final
- leaderLineStyle → ArcLabelLeaderLineStyle
-
Configures
ArcLabelLeaderLineStyleSpec
for leader lines for labels placed outside the arcs.final - outsideLabelStyle → LabelStyle
-
Configures
TextStyleSpec
for labels placed outside the arcs.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLeaderLines → bool
-
Whether or not to draw leader lines for labels placed outside the arcs.
final
Methods
-
getRenderNumeric(
) → ArcLabelDecorator< num> -
getRenderOrdinal(
) → ArcLabelDecorator< String> -
getRenderTime(
) → ArcLabelDecorator< 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