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.
ChartCrosshair
const ChartCrosshair({
super.key,
required this.x,
required this.top,
required this.bottom,
this.path,
this.style = const ChartCrosshairStyle(),
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
x | double | Yes | — |
top | double | Yes | — |
bottom | double | Yes | — |
path | Path? | No | null |
style | ChartCrosshairStyle | No | const ChartCrosshairStyle() |
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_crosshair/chart_crosshair.dart
This reference is generated from the ChartCrosshair declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

