headerTextStyle property
Specify the date picker header text style.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
headerTextStyle: TextStyle(fontSize: 14)
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final TextStyle? headerTextStyle;