white30 constant

Color const white30 = const Color(0x4DFFFFFF)

White with 32% opacity.

Used for disabled radio buttons and the text of disabled flat buttons in dark themes.

See also:

  • ThemeData.disabledColor, which uses this color by default in dark themes.
  • Theme.of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.
  • white, white70, white12, white10, which are variants on this color but with different opacities.

Implementation

static const Color white30 = Color(0x4DFFFFFF)