FlLineLabel class abstract
Shows a text label
- Implementers
Constructors
- FlLineLabel({required bool show, required EdgeInsetsGeometry padding, required TextStyle? style, required Alignment alignment, required LabelDirection direction})
-
Draws a title on the line, align it with alignment over the line,
applies padding for spaces, and applies style for changing color,
size, ... of the text.
show determines showing label or not.
direction determines if the direction of the text should be horizontal or vertical.
const
Properties
- alignment → Alignment
-
Aligns the text on the line.
final
- direction → LabelDirection
-
Determines the direction of the text.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsetsGeometry
-
Inner spaces around the drawing text.
final
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
Determines showing label or not.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - style → TextStyle?
-
Sets style of the drawing text.
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