TooltipActionPosition enum
Defines the positioning of action buttons relative to the tooltip content.
This enum determines whether action buttons (like next, previous, skip buttons) should be placed:
- Inside the tooltip container itself, appearing as part of the tooltip content
- Outside the tooltip container, appearing as separate UI elements below/above the tooltip
When inside, actions can be positioned at the bottom, left, or right of the tooltip content.
The position affects the layout calculations, spacing, and visual appearance of the tooltip component within the showcase.
Values
- outside → const TooltipActionPosition
-
Places the action buttons outside the tooltip container.
When this option is selected, the action buttons will be rendered as separate UI elements below/above the tooltip content.
- inside → const TooltipActionPosition
-
Places the action buttons inside the tooltip container at the bottom.
When this option is selected, the action buttons will be rendered as part of the tooltip content, appearing within the same container at the bottom.
- insideLeft → const TooltipActionPosition
-
Places the action buttons inside the tooltip container on the left side.
When this option is selected, the action buttons will be rendered as part of the tooltip content, appearing within the same container on the left side. Actions will be arranged vertically.
- insideRight → const TooltipActionPosition
-
Places the action buttons inside the tooltip container on the right side.
When this option is selected, the action buttons will be rendered as part of the tooltip content, appearing within the same container on the right side. Actions will be arranged vertically.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isInside → bool
-
no setter
- isInsideHorizontal → bool
-
no setter
- isInsideLeft → bool
-
no setter
- isInsideRight → bool
-
no setter
- isInsideVertical → bool
-
no setter
- isOutside → bool
-
no setter
- 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<
TooltipActionPosition> - A constant List of the values in this enum, in order of their declaration.