NicePlanningTimeline constructor

const NicePlanningTimeline({
  1. Key? key,
  2. List<NiceTimelineEvent> events = const [],
  3. List<NiceTimelineGroup> groups = const [],
  4. List<NiceTimelineMarker> markers = const [],
  5. NiceTimelineZoomLevel initialZoom = NiceTimelineZoomLevel.month,
  6. DateTime? initialDate,
  7. void onEventClick(
    1. String id
    )?,
  8. void onZoomChange(
    1. NiceTimelineZoomLevel zoom
    )?,
  9. bool showMinimap = false,
  10. double? height,
})

Implementation

const NicePlanningTimeline({
  super.key,
  this.events = const [],
  this.groups = const [],
  this.markers = const [],
  this.initialZoom = NiceTimelineZoomLevel.month,
  this.initialDate,
  this.onEventClick,
  this.onZoomChange,
  this.showMinimap = false,
  this.height,
});