ToolTipWidget class

Inheritance

Constructors

ToolTipWidget({Key? key, VoidCallback? onSkip, VoidCallback? onNext, String? nextTitle, required GetPosition? position, required Offset? offset, required Size? screenSize, required String? title, required TextAlign? titleAlignment, required String? description, required TextStyle? titleTextStyle, required TextStyle? descTextStyle, required Widget? container, required Color? tooltipBackgroundColor, required Color? textColor, required bool showArrow, required double? contentHeight, required double? contentWidth, required VoidCallback? onTooltipTap, required Duration movingAnimationDuration, required TextAlign? descriptionAlignment, EdgeInsets? tooltipPadding = const EdgeInsets.symmetric(vertical: 8), required bool disableMovingAnimation, required bool disableScaleAnimation, required BorderRadius? tooltipBorderRadius, required Duration scaleAnimationDuration, required Curve scaleAnimationCurve, Alignment? scaleAnimationAlignment, bool isTooltipDismissed = false, TooltipPosition? tooltipPosition, EdgeInsets? titlePadding, EdgeInsets? descriptionPadding, TextDirection? titleTextDirection, TextDirection? descriptionTextDirection})
const

Properties

container Widget?
final
contentHeight double?
final
contentWidth double?
final
description String?
final
descriptionAlignment TextAlign?
final
descriptionPadding EdgeInsets?
final
descriptionTextDirection TextDirection?
final
descTextStyle TextStyle?
final
disableMovingAnimation bool
final
disableScaleAnimation bool
final
hashCode int
The hash code for this object.
no setterinherited
isTooltipDismissed bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
movingAnimationDuration Duration
final
nextTitle String?
final
offset Offset?
final
onNext VoidCallback?
final
onSkip VoidCallback?
final
onTooltipTap VoidCallback?
final
position GetPosition?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleAnimationAlignment Alignment?
final
scaleAnimationCurve Curve
final
scaleAnimationDuration Duration
final
screenSize Size?
final
showArrow bool
final
textColor Color?
final
title String?
final
titleAlignment TextAlign?
final
titlePadding EdgeInsets?
final
titleTextDirection TextDirection?
final
titleTextStyle TextStyle?
final
tooltipBackgroundColor Color?
final
tooltipBorderRadius BorderRadius?
final
tooltipPadding EdgeInsets?
final
tooltipPosition TooltipPosition?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ToolTipWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited