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? mark, 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.
read / write
anchor ↔ (Offset Function(Size)?)
Indicates the anchor position of this tooltip directly.
read / write
backgroundColor Color?
The background color of this tooltip window.
read / write
constrained bool?
Whether the tooltip should be constrained within the chart widget border.
read / write
elevation double?
The shadow elevation of this tooltip window.
read / write
followPointer List<bool>?
Whether the position for each dimension follows the pointer or stick to selected points.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
layer int?
The layer of this tooltip.
read / write
mark int?
Which mark series this tooltip reacts to.
read / write
multiTuples bool?
Whether to show multiple tuples or only single tuple in this tooltip.
read / write
offset Offset?
The offset of the tooltip form the anchor.
read / write
padding EdgeInsets?
The padding form the content to the window border of this tooltip.
read / write
radius Radius?
The border radius of this tooltip window.
read / write
renderer TooltipRenderer?
Indicates a custom render funcion of this tooltip.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selections Set<String>?
The selections this crosshair reacts to.
read / write
textStyle TextStyle?
The text style of this tooltip content.
read / write
variables List<String>?
The variable values of tuples to show on in this tooltip.
read / write

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