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.
ComposedChart
const ComposedChart({
super.key,
required super.series,
super.height,
super.xAxis,
super.yAxis,
super.stacked,
super.includeZero,
super.padding,
super.domainPadding,
super.barWidth,
super.barSpacing,
super.barRadius,
super.showTooltip,
super.showCrosshair,
super.showIndicator,
super.interactive,
super.interactionMode,
super.longPressDuration,
super.enableHover,
super.enableKeyboard,
super.drawOn,
super.replayKey,
super.persistSelection,
super.onSelectionChanged,
super.overlayBuilder,
super.valueFormatter,
super.semanticLabel,
super.animate,
super.animationDuration,
super.animationCurve,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
series | List<CompositeSeries> | Yes | — |
height | double | No | 220 |
xAxis | CompositeAxis | No | const CompositeAxis(showGrid: false) |
yAxis | CompositeAxis | No | const CompositeAxis() |
stacked | bool | No | false |
includeZero | bool? | No | null |
padding | EdgeInsets | No | const EdgeInsets.all(12) |
domainPadding | EdgeInsets | No | const EdgeInsets.all(8) |
barWidth | double? | No | null |
barSpacing | double | No | 3 |
barRadius | double | No | 4 |
showTooltip | bool | No | true |
showCrosshair | bool | No | true |
showIndicator | bool | No | true |
interactive | bool | No | true |
interactionMode | CompositeInteractionMode? | No | null |
longPressDuration | Duration | No | const Duration(milliseconds: 150) |
enableHover | bool | No | true |
enableKeyboard | bool | No | true |
drawOn | bool | No | true |
replayKey | Object? | No | null |
persistSelection | bool | No | false |
onSelectionChanged | ValueChanged<CompositeSelection?>? | No | null |
overlayBuilder | CompositeOverlayBuilder? | No | null |
valueFormatter | String Function(double)? | No | null |
semanticLabel | String? | No | null |
animate | bool | No | true |
animationDuration | Duration? | No | null |
animationCurve | Curve? | 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/charts/composed_chart/composed_chart.dart
This reference is generated from the ComposedChart declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

