Skip to content
pubscout

contribution_heatmap

0.6.0, released 4 months ago by abdullah.com.bd

GitHub-like contribution heatmap calendar widget for Flutter

WASM-ready
$ flutter pub add contribution_heatmap
Source repository

What it does

Provides a visual representation of contribution data over time using a custom RenderBox for performance. Supports month splitting, custom color scales, touch interactions, and localization.

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

Use it when

  • You want to display GitHub-style contribution graphs in your Flutter app.
  • You need high performance when rendering thousands of daily data points.

Skip it when

  • You need standard charts like bar charts, line graphs, or pie charts instead of a calendar heatmap.

Strengths

  • Custom RenderBox implementation for high rendering performance.
  • Interactive with tap support and gesture handling.
  • Fully customizable colors, sizing, and layouts with multiple built-in color schemes.

Weaknesses

  • Limited to contribution calendar heatmaps.
  • Only supports English, French, German, and Spanish localization currently.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ContributionHeatmap(
  entries: [
    ContributionEntry(DateTime(2025, 11, 15), 5),
    ContributionEntry(DateTime(2025, 11, 16), 3),
  ],
  onCellTap: (date, value) {
    print('Tapped: $date with $value contributions');
  },
)

Alternatives

Packages that do the same job and could replace contribution_heatmap.

  • k_chart

    A Flutter K-line and depth chart widget with drag, scale, and technical indicators.

  • candlesticks

    A high-performance, interactive Flutter candlestick chart for financial apps.

  • mrx_charts

    Simple, high-performance Flutter charts with smooth animations for bar, line, pie, and candle charts.

  • chart_engine

    Chart generator with interchangeable chart engines like ChartJS and ApexCharts.