weekNumberTextStyle property
Specifies the text style for the week number text in month view.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
weekNumberBackgroundColor: Colors.blue,
weekNumberTextStyle: TextStyle(color: Colors.grey,
fontSize: 20),
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final TextStyle? weekNumberTextStyle;