NodeTooltipTheme<T> constructor

const NodeTooltipTheme<T>({
  1. bool useTooltip = false,
  2. TooltipDirection direction = TooltipDirection.top,
  3. TooltipAlignment alignment = TooltipAlignment.center,
  4. double offset = 8.0,
  5. double crossAxisOffset = 0.0,
  6. String? message,
  7. TextStyle? textStyle,
  8. WidgetBuilder? tooltipBuilder,
  9. WidgetBuilder? tooltipBuilderResolver(
    1. Node<T> node
    )?,
  10. Color? backgroundColor,
  11. double? elevation,
  12. List<BoxShadow>? boxShadow,
  13. BorderRadius? borderRadius,
  14. EdgeInsets? padding,
  15. JustTooltipController? controller,
  16. bool? enableTap,
  17. bool? enableHover,
  18. Duration? animationDuration,
  19. VoidCallback? onShow,
  20. VoidCallback? onHide,
  21. bool? interactive,
  22. Duration? waitDuration,
  23. Duration? showDuration,
  24. Color? borderColor,
  25. double? borderWidth,
  26. bool? showArrow,
  27. double? arrowBaseWidth,
  28. double? arrowLength,
  29. double? arrowPositionRatio,
  30. double? screenMargin,
  31. TooltipAnimation? animation,
  32. Curve? animationCurve,
  33. double? fadeBegin,
  34. double? scaleBegin,
  35. double? slideOffset,
  36. double? rotationBegin,
})

Creates a NodeTooltipTheme

Implementation

const NodeTooltipTheme({
  this.useTooltip = false,
  this.direction = TooltipDirection.top,
  this.alignment = TooltipAlignment.center,
  this.offset = 8.0,
  this.crossAxisOffset = 0.0,
  this.message,
  this.textStyle,
  this.tooltipBuilder,
  this.tooltipBuilderResolver,
  this.backgroundColor,
  this.elevation,
  this.boxShadow,
  this.borderRadius,
  this.padding,
  this.controller,
  this.enableTap,
  this.enableHover,
  this.animationDuration,
  this.onShow,
  this.onHide,
  this.interactive,
  this.waitDuration,
  this.showDuration,
  this.borderColor,
  this.borderWidth,
  this.showArrow,
  this.arrowBaseWidth,
  this.arrowLength,
  this.arrowPositionRatio,
  this.screenMargin,
  this.animation,
  this.animationCurve,
  this.fadeBegin,
  this.scaleBegin,
  this.slideOffset,
  this.rotationBegin,
});