disabledDatesTextStyle property

TextStyle? disabledDatesTextStyle
final

The text style for the text in the disabled dates cell of SfHijriDateRangePicker year and decade view.

Here, disabled cells are the one which falls beyond the minimum and maximum date range.

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.year,
         selectionMode: DateRangePickerSelectionMode.range,
         yearCellStyle: HijriDatePickerYearCellStyle(
             disabledDatesTextStyle: TextStyle(
                 fontSize: 12,
                 fontWeight: FontWeight.w300,
                 color: Colors.black)),
       ),
     ),
   );
 }

Implementation

final TextStyle? disabledDatesTextStyle;