ToolTip constructor
const
ToolTip({
- bool show = true,
- Trigger trigger = Trigger.item,
- AxisPointer axisPointer = const AxisPointer(),
- bool showContent = true,
- bool alwaysShowContent = false,
- TriggerOn triggerOn = TriggerOn.moveAndClick,
- num showDelay = 0,
- num hideDelay = 100,
- bool enterAble = true,
- bool confine = false,
- num transitionDuration = 400,
- List<
SNumber> ? position, - String? formatter,
- FormatterFun? numberFormatter,
- ToolTipOrder order = ToolTipOrder.seriesAsc,
- AreaStyle background = const AreaStyle(),
- EdgeInsets padding = EdgeInsets.zero,
- 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(),
});