FluentTooltipBaseState class

Everything needed to render a tooltip, independent of appearance.

The counterpart of FluentButtonBaseState. buildFluentTooltip takes this rather than FluentTooltipState, which is what makes "Fluent's state, my own styling, Fluent's rendering" a supported path rather than a fork.

Implementers
Annotations

Constructors

FluentTooltipBaseState({required FluentTooltipPosition position, required bool withArrow, required Widget content})
Creates a base state.
const

Properties

content Widget
The tooltip body.
final
hashCode int
The hash code for this object.
no setterinherited
position FluentTooltipPosition
Which side of the target the surface sits on. Read by the renderer, since it decides where the arrow goes — it is geometry, not styling.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
withArrow bool
Whether the pointing arrow is drawn.
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