Skip to content
pubscout

flutter_gantt

1.4.0, released 4 weeks ago by insideapp.it

Interactive Gantt chart widget for Flutter

WASM-ready
$ flutter pub add flutter_gantt
Source repository

What it does

Renders a scrollable, draggable Gantt chart with hierarchical tasks, custom styling, and date utilities.

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

Use it when

  • Building project management or scheduling UIs
  • Need a responsive, cross‑platform Gantt chart with drag‑and‑drop
  • Want to display nested tasks with progress and custom builders

Skip it when

  • You only need a static timeline image
  • Your app targets only web and you prefer a lightweight JS chart

Strengths

  • Highly customizable theme and cell builders
  • Supports hierarchical activities and progress indicators
  • Optimized for performance and responsive across platforms

Weaknesses

  • No built‑in persistence or backend integration
  • Requires manual data fetching and state management
  • Large dependency set (intl, provider) may increase bundle size

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add flutter_gantt to pubspec and run flutter pub get

import 'package:flutter_gantt/flutter_gantt.dart';

Gantt(
  theme: GanttTheme.of(context),
  activitiesAsync: (start, end, act) async => _activities,
  holidaysAsync: (start, end, hol) async => _holidays,
  onActivityChanged: (activity, start, end) {
    if (start != null && end != null) {
      debugPrint('$activity was moved');
    }
  },
)

Alternatives

Packages that do the same job and could replace flutter_gantt.

Works with

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