Skip to content
pubscout

simple_heatmap_calendar

0.4.0, released 2 years ago by friesi23.icu

A Flutter heatmap calendar package supporting internationalization and UTC.

WASM-ready
$ flutter pub add simple_heatmap_calendar
Source repository

What it does

Provides a customizable heatmap calendar widget to display data over time spans. It supports configurations for cells, labels, layouts, and colors, with good performance for large date ranges.

AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display contribution-style heatmap calendars like GitHub.
  • You want to visualize activity or event data over a large time span.

Skip it when

  • You need standard charts like line, bar, or pie charts.

Strengths

  • Good performance when dealing with a large time span.
  • Supports internationalization and UTC time zones.
  • Rich and adjustable configuration options.

Weaknesses

  • Limited to heatmap calendar visualizations only.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
HeatmapCalendar<num>(
  startDate: DateTime(2020, 1, 1),
  endedDate: DateTime(2025, 12, 31),
  colorMap: {
    10: Colors.blue.withOpacity(0.2),
    50: Colors.blue,
  },
  selectedMap: {
    DateTime(2025, 12, 31): 10,
  },
)

Alternatives

Packages that do the same job and could replace simple_heatmap_calendar.

Works with

Packages commonly used together with simple_heatmap_calendar: ones it builds on, ones built on it, and its own family.