Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Tooltip
const Tooltip({
super.key,
this.size,
required this.message,
required this.child,
this.enabled = true,
this.waitDuration = const Duration(milliseconds: 400),
this.showDuration = const Duration(seconds: 2),
this.placement = CollisionPlacement.top,
this.alignment = CollisionAlignment.center,
this.offset = 8,
this.collisionPadding = 8,
this.maxWidth = 260,
this.padding,
this.borderRadius,
this.backgroundColor,
this.textStyle,
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
message | String | Yes | — |
child | Widget | Yes | — |
enabled | bool | No | true |
waitDuration | Duration | No | const Duration(milliseconds: 400) |
showDuration | Duration | No | const Duration(seconds: 2) |
placement | CollisionPlacement | No | CollisionPlacement.top |
alignment | CollisionAlignment | No | CollisionAlignment.center |
offset | double | No | 8 |
collisionPadding | double | No | 8 |
maxWidth | double | No | 260 |
padding | EdgeInsetsGeometry? | No | null |
borderRadius | double? | No | null |
backgroundColor | Color? | No | null |
textStyle | TextStyle? | No | null |
motion | ComponentMotion? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/overlays/tooltip/tooltip.dart
This reference is generated from the Tooltip declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

