onTriggered property Null safety

TooltipTriggeredCallback? onTriggered
final

Called when the Tooltip is triggered.

The tooltip is triggered after a tap when triggerMode is TooltipTriggerMode.tap or after a long press when triggerMode is TooltipTriggerMode.longPress.

Implementation

final TooltipTriggeredCallback? onTriggered;