viewSpacing property

double viewSpacing

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

Defaults to value 20.

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

See also:

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


final double viewSpacing;