leadingDatesTextStyle property

TextStyle? leadingDatesTextStyle
final

Specifies the text style for the leading month cell dates.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           calendarThemeData: SfCalendarThemeData(
             leadingDatesTextStyle: TextStyle(decoration:
               TextDecoration.lineThrough, color: Colors.green)
             )
           ),
         child: SfCalendar(),
         ),
     )
  );
}

Implementation

final TextStyle? leadingDatesTextStyle;