NiceTimeline constructor
const
NiceTimeline({
- Key? key,
- required List<
NiceTimelineItem> items, - NiceTimelineStyle style = NiceTimelineStyle.left,
- bool reverse = false,
- double lineWidth = 2,
- double nodeSize = 12,
- Color? lineColor,
- EdgeInsets? padding,
- Widget itemBuilder(
- NiceTimelineItem item,
- 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,
});