ExpressiveTooltipCaret class
Where a tooltip's caret sits: on its top or bottom edge, x from its left edge (or, made with ExpressiveTooltipCaret.start, from its start edge), pointing at the anchor.
- Annotations
Constructors
- ExpressiveTooltipCaret({required bool below, required double x})
-
A caret
xfrom the tooltip's left edge;belowsays which edge it stands on.const - ExpressiveTooltipCaret.start({required bool below, required double start})
-
A caret
startfrom the tooltip's start edge (the right in right-to-left), so a tooltip placed by hand points at the same part of its anchor in either direction.const
Properties
- below → bool
-
Whether the tooltip is below its anchor (the caret on its top edge,
pointing up) rather than above it (on its bottom edge, pointing down).
final
- fromStart → bool
-
Whether x counts from the start edge rather than the left.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → double
-
The caret's centre along the edge, from the tooltip's left (from its
start when fromStart); kept clear of the corners.
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.
override