PrismTimeline constructor

const PrismTimeline({
  1. Key? key,
  2. required List<PrismTimelineEntry> entries,
  3. double markerSize = 28,
  4. double connectorWidth = 2,
  5. bool dense = false,
  6. bool alternate = false,
  7. void onEntryTap(
    1. int index,
    2. PrismTimelineEntry entry
    )?,
  8. EdgeInsetsGeometry? padding,
  9. double indent = 0,
})

Creates a timeline.

Implementation

const PrismTimeline({
  super.key,
  required this.entries,
  this.markerSize = 28,
  this.connectorWidth = 2,
  this.dense = false,
  this.alternate = false,
  this.onEntryTap,
  this.padding,
  this.indent = 0,
});