white38 constant

Color const white38 = Color(1660944383)

White with 38% 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, white60, white54, white70, white30, white12, white10, which are variants on this color but with different opacities.

Implementation

static const Color white38 = Color(0x62FFFFFF)