blackoutDatesTextStyle property
Specify the date picker blackout cell text style.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
blackoutDatesTextStyle: TextStyle(color:Colors.green[300])
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final TextStyle? blackoutDatesTextStyle;