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