red property

  1. @override
num get red
override

The red component. Note: it is a shortcut of rgb().red, so the performance might not be good

Implementation

@override
num get red => rgb().red;