ToolTip class
提示框
Constructors
-
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()}) -
const
Properties
- alwaysShowContent → bool
-
final
- axisPointer → AxisPointer
-
final
- background → AreaStyle
-
final
- confine → bool
-
final
- enterAble → bool
-
final
- formatter → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideDelay → num
-
final
- labelStyle → LabelStyle
-
final
- numberFormatter → FormatterFun?
-
final
- order → ToolTipOrder
-
final
- padding → EdgeInsets
-
final
-
position
→ List<
SNumber> ? -
浮层位置,当不设置时跟随鼠标位置
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
final
- showContent → bool
-
final
- showDelay → num
-
final
- transitionDuration → num
-
final
- trigger → Trigger
-
final
- triggerOn → TriggerOn
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited