dayPeriodTextColor property

Color? dayPeriodTextColor
final

The color of the day period text that represents AM/PM.

If dayPeriodTextColor is a MaterialStateColor, then the effective text color can depend on the MaterialState.selected state, i.e. if the text is selected or not.

By default the overall theme's ColorScheme.primary color is used when the text is selected and ColorScheme.onSurface.withOpacity(0.60) when it's not selected.

Implementation

final Color? dayPeriodTextColor;