foregroundColor property

Color? foregroundColor
final

The default text color for text in the circle.

Defaults to the primary text theme color if no backgroundColor is specified.

If a foregroundColor is not specified and ThemeData.useMaterial3 is true, ColorScheme.onPrimaryContainer will be used, otherwise the theme's ThemeData.primaryColorLight for dark background colors, and ThemeData.primaryColorDark for light background colors.

Implementation

final Color? foregroundColor;