activeDatesTextStyle property

TextStyle? activeDatesTextStyle
final

Specifies the current month text style color of calendar widgets.

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

Implementation

final TextStyle? activeDatesTextStyle;