cellEndPadding property
Adds padding at the right end of a cell to interact when the calendar cells have appointments.
defaults to '-1'.
Note: This is not applicable for month agenda and schedule view appointments.
See also:
- onTap, to get the tapped elements, date and other details, when an element tapped in calendar.
- onLongPress, to get the tapped elements, date and other details when an element long tapped in calendar.
- dataSource, to set and handle appointments with calendar.
- Knowledge base: How to interact with calendar cell when appointments loaded
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.day,
cellEndPadding: 5,
),
);
}
Implementation
final double cellEndPadding;