PackageTrack
Sign in Get early access

any_sparklines

Feature-rich and highly optimized sparklines for Flutter

3.0.1 239 downloads/mo #1180 most downloaded on pub.dev andry-brill/a-sparklines

What this package is like to depend on

Last release 11 days ago

12 Aug 2026

Release timing varies

gaps range from 9 days to 5 months

Nearly every release is documented

notes for 17 of 17 stable releases

Nothing withdrawn

no release was ever pulled

6 months old

17 releases · first in 2026

17 releases in the last 12 months

see the full history below

Release timeline

17 releases · Feb 2026 to Aug 2026
Release Pre-release

Releases

latest 17
  1. 3.0.1 12 Aug 2026
    Release notes
    • Added a configurable eps threshold to pie layout and data-bounds computations.
    • Fixed lint warnings for unbraced if statements.
    Open source →
  2. 3.0.0 10 Aug 2026
    Release notes
    • Breaking: unit-aware visual lengths

      • ThicknessData.size, ThicknessOverride.size, marker radius, and chart/data-point border radius now use ILengthValue.
      • Added Px, Vw, Vh, Dx, and Dy; viewport units follow CSS percentage semantics (Vw(1) is 1%).
      • Added deferred cross-unit interpolation and support for custom length implementations through ILengthContext.
    • Breaking: simplified layouts

      • Removed RelativeDimension, RelativeLayout.relativeTo, and IChartLayout.transformScalar().
      • ChartTransform no longer accepts an IChartLayout; it resolves lengths from its dimensions and path matrix.
      • Layouts now transform plot coordinates only; each visual value owns its sizing policy.
      • Pie auto-bounds are derived from data geometry and no longer include visual thickness, borders, corners, or markers.
    • LineData

      • Added LineData.scatter(points: ...) for marker-only x/y plots without connected lines or area fills.
      • Added ScatterLineData; scatter rendering is selected through lineType and can be changed with copyWith(lineType: ...).
      • Single-point line and scatter data now render their point marker.
    • Breaking: custom line types

      • ILineTypeData now requires drawLine and minPoints so renderers can determine whether and when to draw connected geometry.
    • DataPoint and DataPointPipeline

      • Added DataPoint.z as an interpolated third dimension that does not affect layout bounds.
      • Added direct Object? point keys for selecting pipeline transformations; keys retain the source value at t <= 0 and adopt the destination value afterward during interpolation.
      • Removed IDataPointMeta and replaced DataPointMeta with the value-based DataPointKey, retaining its id, string key, and label fields.
      • Added rescaleZ() with shared automatic bounds, optional clamping, and target-midpoint handling for equal z values.
      • Added scatterZ() with optional key/predicate filtering and z-interpolated StylesInterval/ExtentsInterval metadata.
      • Added optional groupingStep to stack(). When provided, nearby x values are grouped into rounded buckets of that size; the default remains exact x matching.
      • Added optional z ordering to sort().
    • Visual lengths

      • Added Vmin and Vmax for percentages of the shorter and longer logical viewport dimensions.
    • Chart insets and point fitting

      • Added reusable ChartInsets with optional left, top, right, and bottom ILengthValues for global widget padding and local per-chart padding.
      • Added ChartInsets.all(), ChartInsets.horizontal(), and ChartInsets.vertical() convenience constructors.
      • Added CircleDataPointStyle.extent for a symmetric point extent matching the circle radius.
      • ChartInsets implements IDataPointExtent and can be stored in DataPoint.data for automatic, position-aware visual overflow fitting around (x, fy).
      • Global padding, local padding, and point overflow are combined once from the preliminary transform without changing source data or layout bounds.
      • Charts sharing a layout receive one aligned inset transform; over-constrained axes collapse to the weighted position between their opposing insets.
    • Seat maps

      • Added SeatKey with an optional database/display label and value identity based on area, row, and column.
      • Added SeatSelector with OR-set label, row, column, and nullable-area filters plus OR-of-AND tag groups.
      • Added deferred SeatsBuilder actions for fluent row and column geometry with labels, horizontal and vertical gaps, skipped slots, z values, tags, areas, and point metadata.
      • Added nestable record()/repeat() blocks and reusable saveRecord() action templates for replaying seat-layout sequences during build().
      • Added saveState(), saveOnlyState(), and restoreState() for deferred gap, area, tag, and data snapshots.
      • Added ISeatLabelBuilder, default NullLabels, and exact-consumption ListLabels with end-of-build validation.
      • Added DataPointPipeline.seats() for fixed style and optional extent decoration using selectors, predicates, and exact seat keys.
    • Breaking: custom chart data

      • Replaced ChartPadding with ChartInsets without a compatibility alias.
      • IDataPointExtent now extends IDataPointData so custom extents can be stored directly in point metadata.
      • ISparklinesData now implements Iterable<DataPoint> and requires padding and supportsPointExtents.
      • BetweenLineData iterates its from points followed by its to points but disables point-extent fitting.

    Migration

    2.x 3.0
    ThicknessData(size: 2) ThicknessData(size: Px(2))
    CircleDataPointStyle(radius: 4, ...) CircleDataPointStyle(radius: Px(4), ...)
    borderRadius: 4 borderRadius: Px(4)
    relativeTo: RelativeDimension.width with a scalar 0.1 Remove relativeTo; use Dx(0.1) on that visual property
    relativeTo: RelativeDimension.height with a scalar 0.1 Remove relativeTo; use Dy(0.1) on that visual property
    Custom IChartLayout.transformScalar() Remove it; custom units implement ILengthValue.resolve()
    ChartTransform(layout: layout, dimensions: d, pathTransform: m) ChartTransform(dimensions: d, pathTransform: m)
    Open source →
  3. 2.2.6 22 Mar 2026
    Release notes
    • Improved pubspec.yaml
    • Fixed lint warnings
    Open source →
  4. 2.2.5 17 Mar 2026
    Release notes
    • DataPointPipeline
      • stack({ offset?, spacing? }) — Added offset to set the initial stacked base for each x (default 0.0).
    Open source →
  5. 2.2.4 08 Mar 2026
    Release notes
    • DataPointPipeline
      • sort({ x?, y?, fy? }) — Sort input by x, y, and/or fy. Each flag: true = ascending, false = descending. If all null, sorts by x ascending.
      • aggregate({ function?, window? }) — Aggregate dy over a window ending at each point. DataAggregation: sum, avg, min, max, median, std. window: null = cumulative from start, N = last N elements. Updates dy and fy per point.
    Open source →
  6. 2.2.3 08 Mar 2026
    Release notes
    • rescale — Rescale now transforms full intervals [y..fy] from source to target bounds; both y and fy are mapped, and dy is set to fy - y. Non-finite currentMin/currentMax are derived from input interval bounds.
    Open source →
  7. 2.2.2 08 Mar 2026
    Release notes
    • Added rescale to DataPointPipeline
    Open source →
  8. 2.2.1 03 Mar 2026
    Release notes
    • Added trailingSpacing and spacingDeg to DataPointPipeline
    Open source →
  9. 2.2.0 03 Mar 2026
    Release notes
    • Made the radius and thickness properties in PieData uniform by default, consistent with LineData and BarData
      • Use RelativeLayout(.., relativeTo: RelativeDimension.width) to make them relative again
    Open source →
  10. 2.1.4 03 Mar 2026
    Release notes
    • Fixed CircleArcBuilder for angles >= 2 * pi
    Open source →
  11. 2.1.3 02 Mar 2026
    Release notes
    • Fixed LayoutData min/max assert
    Open source →
  12. 2.1.2 02 Mar 2026
    Release notes
    • Fixed drawing DataPoints in CircleDataPointRenderer
    Open source →
  13. 2.1.1 02 Mar 2026
    Release notes
    • Added ChartFlipnone, vertically, horizontally, both. Flip charts around axes; available on all chart data types via ISparklinesData.flip.
    Open source →
  14. 2.1.0 02 Mar 2026
    Release notes
    • Renaming
      • LineChart.points => line
      • PieChart.points => pies
    • Added IDataPointBorder and DataPointBorder
    • Refactoring
    Open source →
  15. 2.0.0 02 Mar 2026
    Release notes
    • DataPoint
      • added IDataPointData
        • DataPointMeta
        • ThresholdPoints
      • migrated everything to DataPoint.data
    • DataPointPipeline
      • refactored
      • tests
    Open source →
  16. 1.1.0 27 Feb 2026
    Release notes
    • DataPoint
      • added dx
      • removed getYorDy
    • DataPointPipeline
      • fixes and tests
    • PieData
      • renamed space to dx
      • added padAngle
    Open source →
  17. 1.0.0 24 Feb 2026
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive