flutter_adaptive_charts_widgets_fs library

Direct access to the Chart.* widget classes.

Import this in addition to flutter_adaptive_charts_fs.dart when you need to name a chart widget type rather than just register it — most often in a host's widget tests, where find.byType(AdaptivePieChart) is a more direct assertion than matching the chart's rendered title text. It also lets a host embed a chart widget outside a card.

Rendering a chart inside a card needs none of this: register CardChartsRegistry.additionalChartElements from the main barrel and the renderer builds these widgets for you.

Kept separate from flutter_adaptive_charts_fs.dart so the default import stays narrow — the same split as flutter_adaptive_cards_fs.dart versus flutter_adaptive_cards_extend_fs.dart. The show clauses are deliberate: the chart chrome (ChartChrome, GaugePainter, …) stays private.

Classes

AdaptiveBarChart
Renders Adaptive Card bar chart elements using fl_chart.
AdaptiveBarChartState
State for AdaptiveBarChart; parses JSON data and builds the fl_chart widget.
AdaptiveGaugeChart
Renders Adaptive Card Chart.Gauge elements using CustomPainter.
AdaptiveGaugeChartState
State for AdaptiveGaugeChart; parses JSON and builds the gauge widget.
AdaptiveLineChart
Renders Adaptive Card line chart elements using fl_chart.
AdaptiveLineChartState
State for AdaptiveLineChart; parses JSON data and builds the fl_chart widget.
AdaptivePieChart
Renders Adaptive Card pie and donut chart elements using fl_chart.
AdaptivePieChartState
State for AdaptivePieChart; parses JSON data and builds the fl_chart widget.

Enums

BarChartType
Layout variants supported by AdaptiveBarChart for Adaptive Card bar chart types.