Skip to Content
Forui 0.11.0 is released 🎉

Tooltip

A tooltip displays information related to a widget when focused, hovered over, or long pressed.

Usage

FTooltip(...)

FTooltip( controller: _controller, // FTooltipController hover: true, longPress: true, tipAnchor: Alignment.bottomCenter, childAnchor: Alignment.topCenter, shift: FPortalShift.flip, tipBuilder: (context, style, _) => const Text('Tooltip'), child: const Placeholder(), );

Examples

Horizontal Alignment

You can change how the tooltip is aligned to the button.

Long Press Only

Last updated on