TooltipGuide class
The specification of a tooltip
A default tooltip construct and style is provided with slight configurations, But you can deeply custom your own tooltip with renderer property.
Constructors
-
TooltipGuide({Set<
String> ? selections, List<bool> ? followPointer, Offset anchor(Size)?, int? layer, int? element, Alignment? align, Offset? offset, EdgeInsets? padding, Color? backgroundColor, Radius? radius, double? elevation, TextStyle? textStyle, bool? multiTuples, List<String> ? variables, bool? constrained, TooltipRenderer? renderer}) - Creates a tooltip.
Properties
- align ↔ Alignment?
-
How this tooltip align to the anchor.
getter/setter pair
- anchor ↔ Offset Function(Size)?
-
Indicates the anchor position of this tooltip directly.
getter/setter pair
- backgroundColor ↔ Color?
-
The background color of this tooltip window.
getter/setter pair
- constrained ↔ bool?
-
Whether the tooltip should be constrained within the chart widget border.
getter/setter pair
- element ↔ int?
-
Which element series this tooltip reacts to.
getter/setter pair
- elevation ↔ double?
-
The shadow elevation of this tooltip window.
getter/setter pair
-
followPointer
↔ List<
bool> ? -
Whether the position for each dimension follows the pointer or stick to selected
points.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- layer ↔ int?
-
The layer of this tooltip.
getter/setter pair
- multiTuples ↔ bool?
-
Whether to show multiple tuples or only single tuple in this tooltip.
getter/setter pair
- offset ↔ Offset?
-
The offset of the tooltip form the anchor.
getter/setter pair
- padding ↔ EdgeInsets?
-
The padding form the content to the window border of this tooltip.
getter/setter pair
- radius ↔ Radius?
-
The border radius of this tooltip window.
getter/setter pair
- renderer ↔ TooltipRenderer?
-
Indicates a custom render funcion of this tooltip.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selections
↔ Set<
String> ? -
The selections this crosshair reacts to.
getter/setter pair
- textStyle ↔ TextStyle?
-
The text style of this tooltip content.
getter/setter pair
-
variables
↔ List<
String> ? -
The variable values of tuples to show on in this tooltip.
getter/setter pair
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.
override