BarTooltipItem class
Holds data needed for showing custom tooltip content.
Constructors
-
BarTooltipItem(String text, TextStyle textStyle, {TextAlign textAlign = TextAlign.center, TextDirection textDirection = TextDirection.ltr, List<
TextSpan> ? children}) -
content of the tooltip, is a
text
String with atextStyle
,textDirection
and optionalchildren
.
Properties
-
children
→ List<
TextSpan> ? -
List
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - text → String
-
Text of the content.
final
- textAlign → TextAlign
-
TextAlign of the showing content.
final
- textDirection → TextDirection
-
Direction of showing text.
final
- textStyle → TextStyle
-
TextStyle of the showing content.
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