Skip to content

Tooltip ​

A Tooltip wrapper with a light (default) and a dark background preset.

View source on GitHub ↗

CLI ​

Install this component into your project:

tooltip
$flutter_beautify add tooltip

Variants ​

FBTooltip.standard() · FBTooltip.dark()

Key parameters ​

ParameterTypeDefault
messageStringrequired
childWidgetrequired — the widget the tooltip wraps

Usage ​

dart
import 'package:your_app/widgets/tooltip.dart';

FBTooltip.dark(message: 'Delete', child: const Icon(Icons.delete));

Released under the MIT License.