monthFormat property Null safety

String? monthFormat
final

Allows to change the month text format in SfHijriDateRangePicker.

The SfHijriDateRangePicker will render the month format in the month view header with expanded month text format and the year view cells with the short month text format by default.

If it is not null then the month view header and the year view cells month text will be formatted based on the format given in this property.

Defaults to null.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,
         showNavigationArrow: true,
         monthFormat: 'EEE',
       ),
     ),
   );
 }

Implementation

final String? monthFormat;