enableMultiView property Null safety

bool enableMultiView
final

Used to enable or disable showing multiple views

When setting this enableMultiView property set to true displaying multiple views and provide quick navigation and dates selection. It is applicable for all the DateRangePickerView types.

Decade and century views does not show trailing cells when the enableMultiView property is enabled.

Enabling this enableMultiView property is recommended for web browser and larger android and iOS devices(iPad, tablet, etc.,)

Note : Each of the views have individual header when the textAlign property in the headerStyle as center eg., May, 2020 June, 2020 otherwise, shown a single header for the multiple views eg., May, 2020 - June, 2020

Defaults to false.

See also:


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

Implementation

final bool enableMultiView;