NicePlanningTimeline constructor
const
NicePlanningTimeline({ - Key? key,
- List<NiceTimelineEvent> events = const [],
- List<NiceTimelineGroup> groups = const [],
- List<NiceTimelineMarker> markers = const [],
- NiceTimelineZoomLevel initialZoom = NiceTimelineZoomLevel.month,
- DateTime? initialDate,
- void onEventClick(
- String id
)?,
- void onZoomChange(
- NiceTimelineZoomLevel zoom
)?,
- bool showMinimap = false,
- 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,
});