red property
This color's red channel, between 0
and 255
.
Note: This is rounded to the nearest integer, which may be lossy. Use channel instead to get the true red value.
Implementation
@Deprecated('Use channel() instead.')
int get red => _legacyChannel(ColorSpace.rgb, 'red').round();