green property

  1. @Deprecated('Use channel() instead.')
int get green

This color's green 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 green => _legacyChannel(ColorSpace.rgb, 'green').round();