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. double? width,
  9. double? height,
  10. Color? color,
  11. BubbleArrowDirection? position,
  12. double length = 1,
  13. double arrHeight = 12.0,
  14. double arrAngle = 60.0,
  15. double arrowRadius = 10.0,
  16. double strokeWidth = 4.0,
  17. PaintingStyle style = PaintingStyle.fill,
  18. Color borderColor = Colors.transparent,
  19. double innerPadding = 6.0,
  20. bool canOnHover = true,
  21. GestureTapCallback? onTap,
  22. GestureTapDownCallback? onTapDown,
  23. GestureTapUpCallback? onTapUp,
  24. GestureTapCallback? onTapCancel,
  25. GestureTapCallback? onDoubleTap,
  26. GestureLongPressCallback? onLongPress,
  27. GestureTapCallback? onSecondaryTap,
  28. GestureTapDownCallback? onSecondaryTapDown,
  29. GestureTapUpCallback? onSecondaryTapUp,
  30. GestureTapCallback? onSecondaryTapCancel,
  31. ValueChanged<bool>? onHighlightChanged,
  32. ValueChanged<bool>? onHover,
  33. MouseCursor? mouseCursor,
  34. bool containedInkWell = false,
  35. BoxShape highlightShape = BoxShape.circle,
  36. double? radius,
  37. BorderRadius? borderRadius,
  38. ShapeBorder? customBorder,
  39. Color? focusColor,
  40. Color? hoverColor,
  41. Color? highlightColor,
  42. WidgetStateProperty<Color?>? overlayColor,
  43. Color? splashColor,
  44. InteractiveInkFeatureFactory? splashFactory,
  45. bool enableFeedback = true,
  46. bool excludeFromSemantics = false,
  47. FocusNode? focusNode,
  48. bool canRequestFocus = true,
  49. ValueChanged<bool>? onFocusChange,
  50. bool autofocus = false,
  51. 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.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);