textStyle property

TextStyle textStyle

The text style for the text in the SfDateRangePicker month cells.

Defaults to null.

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

Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         controller: _pickerController,
        view: DateRangePickerView.month,
         selectionMode: DateRangePickerSelectionMode.range,
         monthCellStyle: DateRangePickerMonthCellStyle(
           textStyle: TextStyle(
             fontStyle: FontStyle.normal,
             fontWeight: FontWeight.w400,
             fontSize: 12,
             color: Colors.blue


final TextStyle textStyle;