dragAndDropSettings property
Allows to customize the drag and drop environment.
See also:
- monthViewSettings, which allows to customize the month view of the calendar.
- timeSlotViewSettings, which allows to customize the timeslot view of the calendar.
Widget build(BuildContext context) {
return Scaffold(
body: SfCalendar(
view: CalendarView.month,
showWeekNumber: true,
allowDragAndDrop: true,
dragAndDropSettings: DragAndDropSettings(
allowNavigation: true,
allowScroll: true,
autoNavigateDelay: Duration(seconds: 1),
indicatorTimeFormat: 'HH:mm a',
showTimeIndicator: true,
),
),
);
}
Implementation
final DragAndDropSettings dragAndDropSettings;