NiceTimeline constructor

const NiceTimeline({
  1. Key? key,
  2. required List<NiceTimelineItem> items,
  3. NiceTimelineStyle style = NiceTimelineStyle.left,
  4. bool reverse = false,
  5. double lineWidth = 2,
  6. double nodeSize = 12,
  7. Color? lineColor,
  8. EdgeInsets? padding,
  9. Widget itemBuilder(
    1. NiceTimelineItem item,
    2. int index
    )?,
})

Implementation

const NiceTimeline({
  super.key,
  required this.items,
  this.style = NiceTimelineStyle.left,
  this.reverse = false,
  this.lineWidth = 2,
  this.nodeSize = 12,
  this.lineColor,
  this.padding,
  this.itemBuilder,
});