allowScroll property
Allows to scroll the view when the dragging appointment reaches the view port start or end position in timeslot views.
See also:
- allowNavigation, which allows to navigate to next or previous view when the dragging appointment reaches the start or end position of the view.
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 bool allowScroll;