legacy_timeline_scrubber
4.0.0, released 3 days ago by gantt-sync.com
A customizable timeline scrubber widget for Gantt charts and time-based data navigation.
What it does
Provides a timeline scrubber widget that allows users to visualize tasks, scrub through date ranges, zoom in and out, and handle window changes. It integrates with time-based interfaces like Gantt charts, video players, and audio editors.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Gantt chart or timeline navigation interface.
- You need to let users scrub through and zoom into specific date ranges.
Skip it when
- You are using standard Flutter material widgets and cannot migrate to package:material_ui.
- You need general-purpose charts like line, bar, or pie charts instead of a timeline scrubber.
Strengths
- Highly customizable appearance for scrubbers and tasks.
- Supports zooming, scaling, and detailed touch handle interactions via ScrubberHandle.
- High test coverage of 96%.
Weaknesses
- Breaking change in version 4.0.0 requires migrating imports to `material_ui` instead of standard `flutter/material.dart`.
- Requires Dart 3.13 and Flutter 3.47 or newer.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires adding the dependency and `material_ui` to pubspec.yaml, and updating imports to package:material_ui/material_ui.dart.
SizedBox(
height: 100,
child: LegacyGanttTimelineScrubber(
totalStartDate: totalStartDate,
totalEndDate: totalEndDate,
visibleStartDate: visibleStartDate,
visibleEndDate: visibleEndDate,
onWindowChanged: onWindowChanged,
tasks: tasks,
),
)Alternatives
Packages that do the same job and could replace legacy_timeline_scrubber.
- k_chart
A Flutter K-line and depth chart widget with drag, scale, and technical indicators.
47Compare - fl_chart
A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
94Compare - gauge_indicator
An animated, highly customizable Flutter radial gauge widget.
71Compare - gantt_chart
Fully customizable Gantt chart widget written purely in Dart
46Compare
Works with
Packages commonly used together with legacy_timeline_scrubber: ones it builds on, ones built on it, and its own family.