activity_heatmap 0.1.0
activity_heatmap: ^0.1.0 copied to clipboard
A highly customizable activity heatmap widget for Flutter, rendered with a single CustomPainter for performance across multiple years of data.
0.1.0 - 2026-04-21 #
Initial release.
ActivityHeatmapwidget rendering one cell per day across a date range, painted with a singleCustomPainterfor multi-year performance.- Horizontal (GitHub-style) and vertical layouts via
HeatmapAxis. - Scroll (
HeatmapFit.scroll) and shrink-to-fit (HeatmapFit.shrinkToFit) sizing modes. - Configurable week start (
firstDayOfWeek), cell size, spacing, corner radius, empty colour, and bucket palette. HeatmapStylewithcopyWith, value equality, and a GitHub-inspired default palette.HeatmapBucketthreshold-to-colour mapping; cells resolve to the highest matching bucket.HeatmapLegendwidget that sharesHeatmapStylewith the main heatmap.- Cell-tap callback (
HeatmapCellTapCallback) returning the tapped date and value (ornullfor "no data"). - Localisable weekday and month labels.
- Right-to-left support (axis mirrors under
TextDirection.rtl).
