displayNameTextStyle property
Specifies the text style for the text in the resource view of calendar.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
calendarThemeData: SfCalendarThemeData(
displayNameTextStyle: TextStyle( color:Colors.red,
fontSize: 10,
fontWeight: FontWeight.w500,
fontFamily: 'Roboto')
)
),
child: SfCalendar(),
),
)
);
}
Implementation
final TextStyle? displayNameTextStyle;