flutter_gantt
1.4.0, released 4 weeks ago by insideapp.it
Interactive Gantt chart widget for Flutter
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.
- flutter_json
Renders valid JSON as an interactive hierarchical tree structure with lazy loading.
67Compare - flutter_earth_globe
An interactive and fully customizable 3D Globe widget written in pure Dart.
80Compare - interactive_bottom_sheet
A customizable interactive bottom sheet that lets users interact with the screen behind it.
65Compare - card_stack_swiper
A customizable card stack swiper widget with swipe gestures and programmatic control.
61Compare
Works with
Packages commonly used together with flutter_gantt: ones it builds on, ones built on it, and its own family.
- intlflutter_gantt depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- providerflutter_gantt depends on itA lightweight wrapper around InheritedWidget for state management
- linked_scroll_controllerflutter_gantt depends on itSynchronizes scroll positions of multiple scrollable widgets.