ArcaneHoverCard.tooltipCustom constructor

const ArcaneHoverCard.tooltipCustom({
  1. required Widget child,
  2. required Widget content,
  3. FloatingPosition position = FloatingPosition.top,
  4. double? maxWidth,
  5. Key? key,
})

Creates a tooltip with custom component content.

Implementation

const ArcaneHoverCard.tooltipCustom({
  required Widget child,
  required Widget this.content,
  this.position = FloatingPosition.top,
  this.maxWidth,
  super.key,
})  : trigger = child,
      textContent = null,
      triggerType = FloatingTrigger.hover,
      isOpen = null,
      onOpenChange = null,
      showArrow = false,
      offset = 8,
      openDelay = 0,
      closeDelay = 0,
      closeOnOutsideClick = true,
      closeOnEscape = true;