colorBrightness property

Brightness? colorBrightness
final

The theme brightness to use for this button.

Defaults to the theme's brightness in ThemeData.brightness. Setting this value determines the button text's colors based on ButtonThemeData.getTextColor.

See also:

Implementation

final Brightness? colorBrightness;