ZTooltip constructor

const ZTooltip({
  1. required Widget child,
  2. ZToolTipController? controller,
  3. BuildTip? buildTip,
  4. bool enableBubble = true,
  5. bool fixedTip = false,
  6. Duration duration = const Duration(seconds: 0),
  7. TipViewLayout? layout,
  8. bool canOnHover = true,
  9. double tipRadius = 8,
  10. double arrowWidth = 12,
  11. double arrowHeight = 8,
  12. double arrowPositionPercent = 0.5,
  13. BubbleArrowDirection direction = BubbleArrowDirection.top,
  14. BubbleArrowShape arrowShape = BubbleArrowShape.triangle,
  15. bool arrowAdaptive = true,
  16. BoxDecoration? decoration,
  17. Clip clipBehavior = Clip.none,
  18. GestureTapCallback? onTap,
  19. GestureTapDownCallback? onTapDown,
  20. GestureTapUpCallback? onTapUp,
  21. GestureTapCallback? onTapCancel,
  22. GestureTapCallback? onDoubleTap,
  23. GestureLongPressCallback? onLongPress,
  24. GestureTapCallback? onSecondaryTap,
  25. GestureTapDownCallback? onSecondaryTapDown,
  26. GestureTapUpCallback? onSecondaryTapUp,
  27. GestureTapCallback? onSecondaryTapCancel,
  28. ValueChanged<bool>? onHighlightChanged,
  29. ValueChanged<bool>? onHover,
  30. MouseCursor? mouseCursor,
  31. bool containedInkWell = false,
  32. BoxShape highlightShape = BoxShape.circle,
  33. double? radius,
  34. BorderRadius? borderRadius,
  35. ShapeBorder? customBorder,
  36. Color? focusColor,
  37. Color? hoverColor,
  38. Color? highlightColor,
  39. WidgetStateProperty<Color?>? overlayColor,
  40. Color? splashColor,
  41. InteractiveInkFeatureFactory? splashFactory,
  42. bool enableFeedback = true,
  43. bool excludeFromSemantics = false,
  44. FocusNode? focusNode,
  45. bool canRequestFocus = true,
  46. ValueChanged<bool>? onFocusChange,
  47. bool autofocus = false,
  48. Key? key,
})

Implementation

const ZTooltip(
    {required this.child,
    this.controller,
    this.buildTip,
    this.enableBubble = true,
    this.fixedTip = false,
    this.duration = const Duration(seconds: 0),
    this.layout,
    this.canOnHover = true,
    this.tipRadius = 8,
    this.arrowWidth = 12,
    this.arrowHeight = 8,
    this.arrowPositionPercent = 0.5,
    this.direction = BubbleArrowDirection.top,
    this.arrowShape = BubbleArrowShape.triangle,
    this.arrowAdaptive = true,
    this.decoration,
    this.clipBehavior = Clip.none,
    this.onTap,
    this.onTapDown,
    this.onTapUp,
    this.onTapCancel,
    this.onDoubleTap,
    this.onLongPress,
    this.onSecondaryTap,
    this.onSecondaryTapDown,
    this.onSecondaryTapUp,
    this.onSecondaryTapCancel,
    this.onHighlightChanged,
    this.onHover,
    this.mouseCursor,
    this.containedInkWell = false,
    this.highlightShape = BoxShape.circle,
    this.radius,
    this.borderRadius,
    this.customBorder,
    this.focusColor,
    this.hoverColor,
    this.highlightColor,
    this.overlayColor,
    this.splashColor,
    this.splashFactory,
    this.enableFeedback = true,
    this.excludeFromSemantics = false,
    this.focusNode,
    this.canRequestFocus = true,
    this.onFocusChange,
    this.autofocus = false,
    Key? key})
    : super(key: key);