NiceScheduler constructor
const
NiceScheduler({
- Key? key,
- required List<
NiceSchedulerEvent> events, - List<
NiceSchedulerResource> ? resources, - DateTime? currentDate,
- NiceSchedulerView view = NiceSchedulerView.week,
- ValueChanged<
DateTime> ? onDateChange, - ValueChanged<
NiceSchedulerView> ? onViewChange, - void onEventClick(
- NiceSchedulerEvent event
- void onSlotClick(
- DateTime dateTime
- int startHour = 8,
- int endHour = 18,
- double height = 600,
Implementation
const NiceScheduler({
super.key,
required this.events,
this.resources,
this.currentDate,
this.view = NiceSchedulerView.week,
this.onDateChange,
this.onViewChange,
this.onEventClick,
this.onSlotClick,
this.startHour = 8,
this.endHour = 18,
this.height = 600,
});