Skip to content
On this page

ChartTooltip

A floating label for chart data inspection.

ChartTooltip in FluttyUIChartTooltip in FluttyUI dark theme

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.

ChartTooltip

const ChartTooltip({
  super.key,
  this.selection,
  this.children,
  this.style = const ChartTooltipStyle(),
});
ParameterTypeRequiredDefault
keyKey?Nonull
selectionChartSelection?Nonull
childrenList<Widget>?Nonull
styleChartTooltipStyleNoconst ChartTooltipStyle()

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/charts/chart_tooltip/chart_tooltip.dart

This reference is generated from the ChartTooltip declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI