showTrailingAndLeadingDates property

bool showTrailingAndLeadingDates
final

Makes the SfDateRangePicker month view leading and trailing dates visible.

Defaults to false.


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         controller: _pickerController,
         view: DateRangePickerView.month,
        selectionMode: DateRangePickerSelectionMode.range,
         monthViewSettings: DateRangePickerMonthViewSettings(
             showTrailingAndLeadingDates: true),
       ),
     ),
  );
 }

Implementation

final bool showTrailingAndLeadingDates;