SuperTooltip class

Inheritance

Constructors

SuperTooltip({Key? key, required Widget content, TooltipDirection popupDirection = TooltipDirection.down, SuperTooltipController? controller, void onLongPress()?, void onShow()?, void onHide()?, ShowCloseButton? showCloseButton, Color? closeButtonColor, double? closeButtonSize, bool? showBarrier, Color? barrierColor, bool snapsFarAwayVertically = false, bool snapsFarAwayHorizontally = false, bool? hasShadow, Color? shadowColor, double? shadowBlurRadius, double? shadowSpreadRadius, double? top, double? right, double? bottom, double? left, double minimumOutsideMargin = 20.0, double verticalOffset = 0.0, double elevation = 0.0, Color? backgroundColor, Decoration? decoration, Widget? child, Color borderColor = Colors.black, BoxConstraints constraints = const BoxConstraints(minHeight: 0.0, maxHeight: double.infinity, minWidth: 0.0, maxWidth: double.infinity), Duration fadeInDuration = const Duration(milliseconds: 150), Duration fadeOutDuration = const Duration(milliseconds: 0), double arrowLength = 20.0, double arrowBaseWidth = 20.0, double arrowTipDistance = 2.0, ClipAreaShape touchThroughAreaShape = ClipAreaShape.oval, double touchThroughAreaCornerRadius = 5.0, Rect? touchThroughArea, double borderWidth = 0.0, double borderRadius = 10.0, EdgeInsetsGeometry overlayDimensions = const EdgeInsets.all(10), EdgeInsetsGeometry bubbleDimensions = const EdgeInsets.all(10), bool hideTooltipOnTap = false, double sigmaX = 5.0, double sigmaY = 5.0, bool showDropBoxFilter = false})

Properties

arrowBaseWidth double
final
arrowLength double
final
arrowTipDistance double
final
backgroundColor Color?
final
barrierColor Color?
final
borderColor Color
final
borderRadius double
final
borderWidth double
final
bottom double?
final
bubbleDimensions EdgeInsetsGeometry
final
child Widget?
final
closeButtonColor Color?
final
closeButtonSize double?
final
constraints BoxConstraints
final
content Widget
final
controller SuperTooltipController?
final
decoration Decoration?
final
elevation double
final
fadeInDuration Duration
final
fadeOutDuration Duration
final
hashCode int
The hash code for this object.
no setterinherited
hasShadow bool?
final
hideTooltipOnTap bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
left double?
final
minimumOutsideMargin double
final
onHide → (void Function()?)
final
onLongPress → (void Function()?)
final
onShow → (void Function()?)
final
overlayDimensions EdgeInsetsGeometry
final
popupDirection TooltipDirection
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowBlurRadius double?
final
shadowColor Color?
final
shadowSpreadRadius double?
final
showBarrier bool?
final
showCloseButton ShowCloseButton?
final
showDropBoxFilter bool
final
sigmaX double
final
sigmaY double
final
snapsFarAwayHorizontally bool
final
snapsFarAwayVertically bool
final
top double?
final
touchThroughArea Rect?
final
touchThroughAreaCornerRadius double
final
touchThroughAreaShape ClipAreaShape
final
verticalOffset double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
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}) 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

Static Properties

barrierKey Key
getter/setter pair
bubbleKey Key
getter/setter pair
insideCloseButtonKey Key
getter/setter pair
outsideCloseButtonKey Key
getter/setter pair