RawTooltip constructor
- Key? key,
- required String? semanticsTooltip,
- required TooltipComponentBuilder tooltipBuilder,
- Duration hoverDelay = Duration.zero,
- Duration touchDelay = const Duration(milliseconds: 1500),
- Duration dismissDelay = const Duration(milliseconds: 100),
- bool enableTapToDismiss = true,
- TooltipTriggerMode triggerMode = TooltipTriggerMode.longPress,
- bool enableFeedback = true,
- TooltipTriggeredCallback? onTriggered,
- AnimationStyle animationStyle = _kDefaultAnimationStyle,
- TooltipPositionDelegate? positionDelegate,
- required Widget child,
Creates a raw tooltip.
The semanticsTooltip, tooltipBuilder, and child arguments are
required.
Implementation
const RawTooltip({
super.key,
required this.semanticsTooltip,
required this.tooltipBuilder,
this.hoverDelay = Duration.zero,
this.touchDelay = const Duration(milliseconds: 1500),
this.dismissDelay = const Duration(milliseconds: 100),
this.enableTapToDismiss = true,
this.triggerMode = TooltipTriggerMode.longPress,
this.enableFeedback = true,
this.onTriggered,
this.animationStyle = _kDefaultAnimationStyle,
this.positionDelegate,
required this.child,
});