flutter_adaptive_charts_fs 0.3.0
flutter_adaptive_charts_fs: ^0.3.0 copied to clipboard
Additional adaptive card components that provide charting capabilities for the Flutter Adaptive Cards ecosystem.
Flutter Adaptive Charts #
A set of adaptive cards that are charts based on the 1.6 spec. Packaged as a separate library to remove the dependency on the charting library from the main adaptive cards library.
Features #
- Pie and Donut Charts
- Bar Charts (Vertical, Horizontal, Stacked, Grouped)
- Line Charts
- Gauge Charts
Getting started #
Pass in the additional charting elements to Registry on start up
const AdaptiveCard({
super.key,
required this.adaptiveCardContentProvider,
this.placeholder,
this.cardRegistry = const CardTypeRegistry(
addedElements: additionalChartElements,
),
this.actionTypeRegistry = const DefaultActionTypeRegistry(),
this.initData,
this.onChange,
this.listView = false,
this.showDebugJson = true,
this.supportMarkdown = true,
required this.hostConfigs,
});
Usage #
Please refer to the examples in the main repository for creating AdaptiveCards JSON that matches the charts 1.6 spec.
Additional information #
This package is part of the Flutter-AdaptiveCards ecosystem.
For more information, please visit the Main GitHub Repository. There you can find details about how this package integrates with the core library, how to contribute, and how to file issues.