black26 constant
Black with 26% opacity.
Used for disabled radio buttons and the text of disabled flat buttons in light themes.
See also:
- ThemeData.disabledColor, which uses this color by default in light themes.
- Theme.of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.
- black, black87, black54, black45, black38, black12, which are variants on this color but with different opacities.
Implementation
static const Color black26 = Color(0x42000000);