selectionTextStyle property

TextStyle? selectionTextStyle
final

The text style for the text in the selected date or dates cell of SfHijriDateRangePicker.

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,
         selectionTextStyle: TextStyle(
                 fontStyle: FontStyle.normal,
                 fontWeight: FontWeight.w500,
                 fontSize: 12,
                 color: Colors.white),
       ),
     ),
   );
 }

Implementation

final TextStyle? selectionTextStyle;