addGreenToBlueAndRed method
Implementation
void addGreenToBlueAndRed(Uint32List pixels, int data, int dataEnd) {
while (data < dataEnd) {
final argb = pixels[data];
final green = ((argb >> 8) & 0xff);
var redBlue = (argb & 0x00ff00ff);
redBlue += (green << 16) | green;
redBlue &= 0x00ff00ff;
pixels[data++] = (argb & 0xff00ff00) | redBlue;
}
}