order_tracker
0.0.2, released 4 years ago by an unverified publisher
OrderTracker widget builds a multi‑step order status UI with animated transitions.
WASM-ready
What it does
It displays order progress stages (placed, shipped, out for delivery, delivered) using a vertical timeline. The widget accepts lists of TextDto for each stage and colors for active/inactive states.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a ready‑made order tracking UI for e‑commerce apps
- You want to avoid custom animation code for status steps
Skip it when
- You require custom layout beyond the provided stages
- You need to integrate with a state‑management solution that expects custom widgets
Strengths
- Simple API, no extra dependencies
- Built‑in animation for status changes
- Cross‑platform support (Android, iOS, web, desktop)
Weaknesses
- Limited customization of the timeline design
- No support for dynamic stage addition at runtime
- No code generation or state‑management integration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency in pubspec.yaml, import package, provide lists of TextDto.
import 'package:order_tracker/order_tracker.dart';
OrderTracker(
status: Status.delivered,
activeColor: Colors.green,
inActiveColor: Colors.grey[300],
orderTitleAndDateList: [...],
shippedTitleAndDateList: [...],
outOfDeliveryTitleAndDateList: [...],
deliveredTitleAndDateList: [...],
);Alternatives
Packages that do the same job and could replace order_tracker.
- flutter_animate
Provides more flexible animation options for custom widgets
70Compare - lottie
Allows using Lottie animations for status icons
96Compare