Skip to main content

shadcn_chart 0.1.0 copy "shadcn_chart: ^0.1.0" to clipboard
shadcn_chart: ^0.1.0 copied to clipboard

Flutter widgets for rendering shadcn/ui Recharts charts through in-app WebViews.

Changelog #

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #

0.1.0 - 2026-06-14 #

Added #

  • Early payload support so chart data and host theme are applied before the React bundle finishes loading (URL fragment encoding, bridge stub, and flutter-bridge-core with unit tests).
  • VS Code launch configurations for the example app (debug, profile, and release).
  • Android and iOS platform scaffolding for the example app (com.skndan.flutter_chart).
  • Light and dark theme pub.dev screenshots from the Android example app.

Changed #

  • README and bundled chart HTML updated for color and theme consistency with the host Flutter Theme.
  • ShadcnChartView, ShadcnChartController, and chart models updated for the new bridge and loading flow.
  • Renderer bridge refactored; host theme is applied via CSS variables instead of a standalone React theme provider.
  • Regenerated all seven bundled chart HTML assets under assets/charts/.
  • Example app layout and chart HTML module loading improved for React module preload compatibility.

Fixed #

  • First Dart payload no longer lost when the WebView loads before window.updateChartData is available.
  • Android example builds pin AGP to 8.11.1 for compatibility with flutter_inappwebview_android 1.1.3.

0.0.2 - 2026-06-13 #

Fixed #

  • README preview image on pub.dev now uses an absolute GitHub URL (relative paths are not rendered in pub.dev READMEs).

Changed #

  • Declare supported platforms (Android, iOS, macOS, Windows, Web) in pubspec.yaml for accurate pub.dev platform scoring.
  • Complete dartdoc on serialization helpers and chart type extensions.

0.0.1 - 2026-06-13 #

Added #

  • Seven bundled shadcn/Recharts chart renderers (area, bar, line, pie, radial).
  • Typed Dart models (InteractiveLineChartData, AreaChartData, etc.).
  • ShadcnChartView widget and ShadcnChartController for runtime updates.
  • Example app demonstrating every chart type.
1
likes
150
points
291
downloads
screenshot

Documentation

API reference

Publisher

verified publisherskndan.com

Weekly Downloads

Flutter widgets for rendering shadcn/ui Recharts charts through in-app WebViews.

Repository (GitHub)
View/report issues

Topics

#chart #shadcn #recharts #webview #data-visualization

License

MIT (license)

Dependencies

flutter, flutter_inappwebview

More

Packages that depend on shadcn_chart