weekendDatesTextStyle property Null safety

TextStyle? weekendDatesTextStyle
final

Specify the date picker weekend cell text style.

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

Implementation

final TextStyle? weekendDatesTextStyle;