showNavigationArrow property
Displays the navigation arrows on the header view of SfCalendar.
If this property set as true
the header view of SfCalendar will
display the navigation arrows which used to navigate to the previous/next
views through the navigation icon buttons.
defaults to false
.
Note: Header view does not show arrow when calendar view as CalendarView.schedule
See also:
- CalendarController.forward, to navigate to next view of calendar programmatically with animation.
- CalendarController.backward, to navigate to previous view of calendar programmatically with animation.
- Knowledge base: How to navigate to the previous or next view using navigation arrows
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.day,
showNavigationArrow: true,
),
);
}
Implementation
final bool showNavigationArrow;