TooltipAnchor enum

What the tooltip is positioned against.

Inheritance
Available extensions

Values

child → const TooltipAnchor

The visible part of the child's rect (default): the child intersected with every clip its ancestors apply. The child is both the hover region and the anchor — right for small children, wrong for one wider than the pointer's neighbourhood, whose visible centre is wherever the scroll viewport happens to be centred.

The tooltip re-aims whenever the child moves, and hides once the child is clipped out of sight entirely.

pointer → const TooltipAnchor

The pointer's position, captured when the tooltip is shown. The child stays the hover region; the tooltip appears beside the cursor.

The tooltip does not re-aim. It hides once the child is clipped out of sight entirely, unless the pointer is inside the child.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<TooltipAnchor>
A constant List of the values in this enum, in order of their declaration.