smooth_charts library

Classes

AnimatedScaleOpacity
Animates scale + opacity simultaneously.
ChartPair
A simple (x, y) data point, optionally associated with a DateTime.
HexColor
PinWheelReveal
Clips its child with a pinwheel (rotating arc) reveal animation.
ScaledAnimatedSwitcher
AnimatedSwitcher with a scale+fade transition.
SmoothLineChart
Animated line chart with touch tooltips, optional reference lines, gradient fill and configurable formatters.
SmoothPieChart
Donut-style pie chart with PinWheel reveal, staggered badge animations and touch interaction.
SmoothPieChartItem
Data model for a single pie chart slice.

Functions

darkenPastel(Color color, {double amount = 0.1}) Color
dynamicPastel(BuildContext context, Color color, {double amount = 0.1, bool inverse = false, double? amountLight, double? amountDark}) Color
lightenPastel(Color color, {double amount = 0.1}) Color