AppTimeline constructor

const AppTimeline({
  1. Key? key,
  2. required List<AppTimelineItem> items,
  3. Color? activeColor,
  4. Color? inactiveColor,
  5. Color? errorColor,
  6. double lineWidth = 2.0,
  7. double indicatorSize = 16.0,
  8. EdgeInsetsGeometry? padding,
  9. double itemSpacing = AppSpacing.l,
  10. double timeWidth = 60.0,
})

Creates an AppTimeline.

Implementation

const AppTimeline({
  super.key,
  required this.items,
  this.activeColor,
  this.inactiveColor,
  this.errorColor,
  this.lineWidth = 2.0,
  this.indicatorSize = 16.0,
  this.padding,
  this.itemSpacing = AppSpacing.l,
  this.timeWidth = 60.0,
});