ZTooltip constructor

const ZTooltip({
  1. required Widget child,
  2. BuildTip? buildTip,
  3. bool enableBubble = true,
  4. bool fixedTip = false,
  5. Duration duration = const Duration(seconds: 0),
  6. TipViewLayout? layout,
  7. double? width,
  8. double? height,
  9. Color? color,
  10. BubbleArrowDirection? position,
  11. double length = 1,
  12. double arrHeight = 12.0,
  13. double arrAngle = 60.0,
  14. double arrowRadius = 10.0,
  15. double strokeWidth = 4.0,
  16. PaintingStyle style = PaintingStyle.fill,
  17. Color borderColor = Colors.transparent,
  18. double innerPadding = 6.0,
  19. bool canOnHover = true,
  20. GestureTapCallback? onTap,
  21. GestureTapDownCallback? onTapDown,
  22. GestureTapUpCallback? onTapUp,
  23. GestureTapCallback? onTapCancel,
  24. GestureTapCallback? onDoubleTap,
  25. GestureLongPressCallback? onLongPress,
  26. GestureTapCallback? onSecondaryTap,
  27. GestureTapDownCallback? onSecondaryTapDown,
  28. GestureTapUpCallback? onSecondaryTapUp,
  29. GestureTapCallback? onSecondaryTapCancel,
  30. ValueChanged<bool>? onHighlightChanged,
  31. ValueChanged<bool>? onHover,
  32. MouseCursor? mouseCursor,
  33. bool containedInkWell = false,
  34. BoxShape highlightShape = BoxShape.circle,
  35. double? radius,
  36. BorderRadius? borderRadius,
  37. ShapeBorder? customBorder,
  38. Color? focusColor,
  39. Color? hoverColor,
  40. Color? highlightColor,
  41. MaterialStateProperty<Color?>? overlayColor,
  42. Color? splashColor,
  43. InteractiveInkFeatureFactory? splashFactory,
  44. bool enableFeedback = true,
  45. bool excludeFromSemantics = false,
  46. FocusNode? focusNode,
  47. bool canRequestFocus = true,
  48. ValueChanged<bool>? onFocusChange,
  49. bool autofocus = false,
  50. Key? key,
})

Implementation

const ZTooltip(
    {required this.child,
     this.buildTip,
     this.enableBubble = true,
      this.fixedTip = false,
      this.duration = const Duration(seconds: 0),
    this.layout,
    this.width,
    this.height,
    this.color,
    this.position,
    this.length = 1,
    this.arrHeight = 12.0,
    this.arrAngle = 60.0,
    this.arrowRadius = 10.0,
    this.strokeWidth = 4.0,
    this.style = PaintingStyle.fill,
    this.borderColor = Colors.transparent,
    this.innerPadding = 6.0,
    this.canOnHover = true,
    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);