cellTextStyle property
Specify the date picker current year, decade or century cells text style.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
cellTextStyle: TextStyle(color: Colors.blueAccent)
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final TextStyle? cellTextStyle;