triggerMode property

TooltipTriggerMode? triggerMode
final

The TooltipTriggerMode that will show the tooltip.

If this property is null, then TooltipThemeData.triggerMode is used. If TooltipThemeData.triggerMode is also null, the default mode is TooltipTriggerMode.longPress.

This property does not affect mouse devices. Setting triggerMode to TooltipTriggerMode.manual will not prevent the tooltip from showing when the mouse cursor hovers over it.

Implementation

final TooltipTriggerMode? triggerMode;