showNavigationArrow property
Displays the navigation arrows on the header view of SfHijriDateRangePicker.
If this property set as true
the header view of SfHijriDateRangePicker
will display the navigation arrows which used to navigate to the
previous/next views through the navigation icon buttons.
defaults to false
.
Note: If the DateRangePickerSelectionMode set as range or multi range
then the navigation arrows will be shown in the header by default, even if
the showNavigationArrow property set as false
.
If the HijriDatePickerMonthViewSettings.enableSwipeSelection set as
false
the navigation arrows will be shown, only whn the
showNavigationArrow property set as true
.
See also:
- HijriDatePickerController.forward, which allows to navigate to next view of the date range picker programmatically.
- HijriDatePickerController.backward, which allows to navigate to previous view of the date range picker programmatically.
- Knowledge base: How to navigate to the previous or next dates using navigation arrows
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SfHijriDateRangePicker(
view: HijriDatePickerView.month,
selectionMode: DateRangePickerSelectionMode.multiple,
showNavigationArrow: true,
),
),
);
}
}
Implementation
final bool showNavigationArrow;