specialDatesTextStyle property Null safety

TextStyle? specialDatesTextStyle
final

The text style for the text in the special dates cell of SfHijriDateRangePicker month view.

Defaults to null.

Using a SfDateRangePickerTheme gives more fine-grained control over the appearance of various components of the date range picker.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         controller: _pickerController,
         view: HijriDatePickerView.month,
         enablePastDates: false,
         selectionMode: DateRangePickerSelectionMode.multiRange,
         monthCellStyle: HijriDatePickerMonthCellStyle(
             specialDatesTextStyle: TextStyle(
                 fontWeight: FontWeight.bold,
                 fontSize: 12,
                 color: Colors.orange)),
       ),
     ),
   );
 }

Implementation

final TextStyle? specialDatesTextStyle;