ToolTip constructor

const ToolTip({
  1. bool show = true,
  2. Trigger trigger = Trigger.item,
  3. AxisPointer axisPointer = const AxisPointer(),
  4. bool showContent = true,
  5. bool alwaysShowContent = false,
  6. TriggerOn triggerOn = TriggerOn.moveAndClick,
  7. num showDelay = 0,
  8. num hideDelay = 100,
  9. bool enterAble = true,
  10. bool confine = false,
  11. num transitionDuration = 400,
  12. List<SNumber>? position,
  13. String? formatter,
  14. FormatterFun? numberFormatter,
  15. ToolTipOrder order = ToolTipOrder.seriesAsc,
  16. AreaStyle background = const AreaStyle(),
  17. EdgeInsets padding = EdgeInsets.zero,
  18. LabelStyle labelStyle = const LabelStyle(),
})

Implementation

const ToolTip({
  this.show = true,
  this.trigger = Trigger.item,
  this.axisPointer = const AxisPointer(),
  this.showContent = true,
  this.alwaysShowContent = false,
  this.triggerOn = TriggerOn.moveAndClick,
  this.showDelay = 0,
  this.hideDelay = 100,
  this.enterAble = true,
  this.confine = false,
  this.transitionDuration = 400,
  this.position,
  this.formatter,
  this.numberFormatter,
  this.order = ToolTipOrder.seriesAsc,
  this.background = const AreaStyle(),
  this.padding = EdgeInsets.zero,
  this.labelStyle = const LabelStyle(),
});