NiceHorizontalTimeline constructor

const NiceHorizontalTimeline({
  1. Key? key,
  2. required List<NiceTimelineItem> items,
  3. int activeIndex = 0,
  4. double nodeSize = 32,
  5. Color? activeColor,
  6. Color? completedColor,
  7. Color? pendingColor,
  8. ValueChanged<int>? onItemTap,
  9. bool showLabels = true,
})

Implementation

const NiceHorizontalTimeline({
  super.key,
  required this.items,
  this.activeIndex = 0,
  this.nodeSize = 32,
  this.activeColor,
  this.completedColor,
  this.pendingColor,
  this.onItemTap,
  this.showLabels = true,
});