LabelStyle class
Constructors
- LabelStyle({bool show = true, double rotate = 0, TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 13, fontWeight: FontWeight.normal), AreaStyle? decoration, OverFlow overFlow = OverFlow.cut, String ellipsis = '', GuideLine guideLine = const GuideLine(), double lineMargin = 4, double minAngle = 0})
-
const
Properties
- decoration → AreaStyle?
-
final
- ellipsis → String
-
final
- guideLine → GuideLine
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineMargin → double
-
final
- minAngle → double
-
final
- overFlow → OverFlow
-
final
- rotate → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
final
- textStyle → TextStyle
-
final
Methods
-
draw(
Canvas canvas, Paint paint, String text, TextDrawConfig config) → Size -
measure(
String text, {num maxWidth = double.infinity}) → Size -
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