todayForegroundColor property
final
Overrides the default color used to paint the DatePickerDialog.currentDate label in the grid of the dialog's CalendarDatePicker and the corresponding year in the dialog's YearPicker.
This will be used instead of the TextStyle.color provided in dayStyle.
This sample demonstrates how to customize the day selector shape decoration
using the dayShape, todayForegroundColor, todayBackgroundColor, and
todayBorder properties.
link
To create a local project with this code sample, run:
flutter create --sample=material.DatePickerThemeData.todayForegroundColor.1 mysample
Implementation
final MaterialStateProperty<Color?>? todayForegroundColor;