Skip to content
pubscout

flutter_heatmap_calendar

1.0.5, released 4 years ago by an unverified publisher

Flutter heatmap calendar inspired by the GitHub contribution chart.

WASM-ready
$ flutter pub add flutter_heatmap_calendar
Source repository

What it does

Provides traditional contribution chart widgets (`HeatMap`) and calendar-mode heatmaps (`HeatMapCalendar`) with customizable datasets, colorsets, and click callbacks.

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

Use it when

  • You want to display a GitHub-style contribution heatmap in your Flutter app.
  • You need a calendar-based heatmap view to show data frequency over days and months.

Skip it when

  • You need complex line, bar, or pie charts instead of a calendar grid layout.
  • You require advanced statistical chart features not related to date-based intensity grids.

Strengths

  • Includes both traditional contribution chart and calendar mode options.
  • Supports customizable color modes (opacity vs threshold color maps) and flexible sizing.

Weaknesses

  • Limited to heatmap and contribution calendar visualizations.
  • Documentation for advanced layouts is sparse beyond README props and basic examples.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
HeatMapCalendar(
  defaultColor: Colors.white,
  flexible: true,
  colorMode: ColorMode.color,
  datasets: {
    DateTime(2021, 1, 6): 3,
    DateTime(2021, 1, 7): 7,
  },
  colorsets: const {
    1: Colors.red,
    3: Colors.orange,
  },
  onClick: (value) {
    print(value);
  },
)

Alternatives

Packages that do the same job and could replace flutter_heatmap_calendar.