rangeSelectionTextStyle property

TextStyle? rangeSelectionTextStyle
final

Specify the date picker in-between selected range text style in month view when selection mode as range/multi-range selection.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           dateRangePickerThemeData: SfDateRangePickerThemeData(
             rangeSelectionTextStyle: TextStyle(decoration:
               TextDecoration.lineThrough)
           )
         ),
         child: SfDateRangePicker(),
       ),
     )
  );
}

Implementation

final TextStyle? rangeSelectionTextStyle;