message | String? | The plain text message displayed in the tooltip. Ignored if richMessage is provided. |
richMessage | StacTextSpan? | Rich text content for the tooltip. Overrides message when provided. |
constraints | StacBoxConstraints? | Additional layout constraints applied to the tooltip content. |
padding | StacEdgeInsets? | Padding inside the tooltip. Defaults to Flutter’s tooltip theme padding. |
margin | StacEdgeInsets? | Outer margin around the tooltip, useful near screen edges. |
verticalOffset | double? | Vertical distance between the tooltip and its child. |
preferBelow | bool? | Whether the tooltip prefers to appear below its child. Defaults to true. |
excludeFromSemantics | bool? | Whether the tooltip message is excluded from the semantics tree. |
decoration | StacBoxDecoration? | Background decoration for the tooltip (color, border radius, etc.). |
textStyle | StacTextStyle? | Text style for the tooltip message. |
textAlign | StacTextAlign? | Horizontal alignment of the tooltip text. |
waitDuration | StacDuration? | Delay before showing the tooltip. |
showDuration | StacDuration? | Duration the tooltip remains visible after activation. |
exitDuration | StacDuration? | Duration of the fade-out animation. |
enableTapToDismiss | bool | Whether tapping the screen dismisses the tooltip. Defaults to true. |
triggerMode | StacTooltipTriggerMode? | Determines how the tooltip is triggered (longPress or tap). |
enableFeedback | bool? | Enables acoustic or haptic feedback when the tooltip is shown. |
child | StacWidget? | The widget the tooltip is attached to (Icon, IconButton, etc.). |