fl_pretty_charts 0.5.0
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 configurationPieSegment— single segment with value, label, color, optional gradientLegendStyle— configurable legend with position, dot size, spacingCenterLabelStyle— title + value label for donut centerPieTooltipStyle— 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()withwithValues()for Flutter 3.27+ compatibility - Switched CI analyze flag from
--fatal-infosto--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 chartsLineData— single line series with points and style configLinePoint— individual data point with x, y, and labelLineStyle— stroke width, color, gradient, fill, dots, smooth toggleAxisLineStyle— grid and axis config for line chartsLineTooltipStyle— 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 configurationBarData— single bar model with value, label, optional color overrideBarStyle— border radius, width fraction, gradient supportAxisStyle— grid lines, y-axis divisions, label text styleTooltipStyle— tap tooltip appearance configurationChartAnimation— animation config with 4 presets:elegant()— 1200ms easeOutCubicsnappy()— 400ms easeOutBackbouncy()— 800ms elasticOutnone()— instant render
ChartTheme— 4 built-in color palettes:defaultTheme()— indigo, teal, amber, orange, purpleocean()— cool blue-green palettesunset()— warm reds and orangesforest()— 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