FTooltip constructor

const FTooltip({
  1. required ValueWidgetBuilder<FTooltipStyle> tipBuilder,
  2. required Widget child,
  3. FTooltipController? controller,
  4. FTooltipStyle? style,
  5. Alignment tipAnchor = Alignment.bottomCenter,
  6. Alignment childAnchor = Alignment.topCenter,
  7. Offset shift(
    1. Size,
    2. FPortalTarget,
    3. FPortalFollower
    ) = FPortalFollowerShift.flip,
  8. bool hover = true,
  9. Duration hoverEnterDuration = const Duration(milliseconds: 500),
  10. Duration hoverExitDuration = Duration.zero,
  11. bool longPress = true,
  12. Duration longPressExitDuration = const Duration(milliseconds: 1500),
  13. 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,
});