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