foregroundColor property

Color? foregroundColor
final

The foreground color for the selected value from toggle button.

Defaults to ColorScheme.onPrimary.

Implementation

final Color? foregroundColor;