foregroundColor property

Color? foregroundColor
final

The color of the button's content (e.g., text, icons) when not hovered or pressed. Overrides the theme default if provided; required in theme if not set.

Implementation

final Color? foregroundColor;