viewSpacing property

double viewSpacing
final

Used to define the spacedouble between multiple views when the enableMultiView is enabled. Otherwise, the viewSpacing value as not applied in SfHijriDateRangePicker.

Defaults to value 20.

This value not applicable on SfHijriDateRangePicker when navigationMode is DateRangePickerNavigationMode.scroll.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         enableMultiView: true,
         viewSpacing: 20,
       ),
     ),
   );
 }

Implementation

final double viewSpacing;