todayTextStyle property

TextStyle? todayTextStyle
final

The text style for the text in the today cell of SfHijriDateRangePicker year and decade 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.year,
         selectionMode: DateRangePickerSelectionMode.range,
         yearCellStyle: HijriDatePickerYearCellStyle(
             todayTextStyle: TextStyle(
                 fontSize: 14,
                 fontWeight: FontWeight.w400,
                 color: Colors.red,
                 fontStyle: FontStyle.italic)),
       ),
     ),
   );
 }

Implementation

final TextStyle? todayTextStyle;