yearForegroundColor property
final
Overrides the default color used to paint the year labels in the year selector of the date picker.
This will be used instead of the color provided in yearStyle.
Implementation
final MaterialStateProperty<Color?>? yearForegroundColor;