fl_pretty_charts 0.5.0 copy "fl_pretty_charts: ^0.5.0" to clipboard
fl_pretty_charts: ^0.5.0 copied to clipboard

A beautiful, animated Flutter charts package. Includes Bar, Line, Pie/Donut, and Radar charts. Zero dependencies — pure Flutter custom painter.

Changelog #

All notable changes to fl_pretty_charts will be documented here. This project follows Semantic Versioning.


0.5.0 #

Added #

  • 🥧 FlPieChart — animated pie and donut chart widget
  • PieChartData — main data model with full style configuration
  • PieSegment — single segment with value, label, color, optional gradient
  • LegendStyle — configurable legend with position, dot size, spacing
  • CenterLabelStyle — title + value label for donut center
  • PieTooltipStyle — tooltip appearance configuration
  • Donut variant via PieChartData.donut = true
  • Configurable inner radius via donutRadius
  • Tap-to-expand segments with glow highlight effect
  • Legend tap to highlight/deselect segments
  • Animated opacity on unselected legend items
  • Percentage display in legend labels
  • Configurable segment gap and start angle
  • Full dartdoc on all public APIs

0.1.2 #

Fixed #

  • Replaced withOpacity() with withValues() for Flutter 3.27+ compatibility
  • Switched CI analyze flag from --fatal-infos to --fatal-warnings
  • Bumped Flutter version in all CI/CD workflows to 3.27.0

0.1.1 #

Fixed #

  • Improved CI/CD pipeline with pub-credentials.json based publishing
  • Updated publish workflow for more reliable pub.dev deployment

0.1.0 #

Added #

  • 📈 FlLineChart — animated line chart widget with left-to-right draw
  • LineChartData — main data model for line charts
  • LineData — single line series with points and style config
  • LinePoint — individual data point with x, y, and label
  • LineStyle — stroke width, color, gradient, fill, dots, smooth toggle
  • AxisLineStyle — grid and axis config for line charts
  • LineTooltipStyle — tooltip appearance for line charts
  • Smooth bezier curves between data points
  • Gradient area fill below each line
  • Animated left-to-right line draw
  • Dot indicators at each data point with tap highlight
  • Multi-line support — render multiple series on one chart
  • Tap-to-tooltip interaction on data points

0.0.1 #

Added #

  • 📊 FlBarChart — animated bar chart widget
  • BarChartData — main data model with full style configuration
  • BarData — single bar model with value, label, optional color override
  • BarStyle — border radius, width fraction, gradient support
  • AxisStyle — grid lines, y-axis divisions, label text style
  • TooltipStyle — tap tooltip appearance configuration
  • ChartAnimation — animation config with 4 presets:
    • elegant() — 1200ms easeOutCubic
    • snappy() — 400ms easeOutBack
    • bouncy() — 800ms elasticOut
    • none() — instant render
  • ChartTheme — 4 built-in color palettes:
    • defaultTheme() — indigo, teal, amber, orange, purple
    • ocean() — cool blue-green palette
    • sunset() — warm reds and oranges
    • forest() — nature-inspired greens
  • ChartUtils — shared drawing utilities (niceMax, valueToY, formatValue)
  • ChartAnimationMixin — reusable animation lifecycle mixin
  • Zero external dependencies — pure Flutter CustomPainter
  • Full dartdoc documentation on all public APIs
  • Full test suite — 27 tests passing
  • Example app demonstrating all bar chart configurations
2
likes
160
points
116
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A beautiful, animated Flutter charts package. Includes Bar, Line, Pie/Donut, and Radar charts. Zero dependencies — pure Flutter custom painter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fl_pretty_charts