FTooltip constructor
const
FTooltip({
- required ValueWidgetBuilder<
FTooltipStyle> tipBuilder, - required Widget child,
- FTooltipController? controller,
- FTooltipStyle? style,
- Alignment tipAnchor = Alignment.bottomCenter,
- Alignment childAnchor = Alignment.topCenter,
- Offset shift() = FPortalFollowerShift.flip,
- bool hover = true,
- Duration hoverEnterDuration = const Duration(milliseconds: 500),
- Duration hoverExitDuration = Duration.zero,
- bool longPress = true,
- Duration longPressExitDuration = const Duration(milliseconds: 1500),
- Key? key,
Creates a tooltip.
Implementation
const FTooltip({
required this.tipBuilder,
required this.child,
this.controller,
this.style,
this.tipAnchor = Alignment.bottomCenter,
this.childAnchor = Alignment.topCenter,
this.shift = FPortalFollowerShift.flip,
this.hover = true,
this.hoverEnterDuration = const Duration(milliseconds: 500),
this.hoverExitDuration = Duration.zero,
this.longPress = true,
this.longPressExitDuration = const Duration(milliseconds: 1500),
super.key,
});