navigationMode property
Defines the view navigation mode based on its navigationDirection for SfHijriDateRangePicker.
Defaults to DateRangePickerNavigationMode.snap
See also:
- navigationDirection, which allows to customize the navigation direction of the hijri date range picker with available options.
- minDate, which is the least available date in the hijri date range picker.
- maxDate, which is the last available date in the hijri date range picker.
- enableMultiView, which allows to display multiple picker side by side based on the navigation direction.
- Knowledge base: How to show two pickers vertically
- Knowledge base: How to change the navigation direction
- Knowledge base: How to restrict the view navigation
Widget build(BuildContext context) {
return Container(
child: SfHijriDateRangePicker(
navigationMode: DateRangePickerNavigationMode.scroll,
),
);
}
Implementation
final DateRangePickerNavigationMode navigationMode;