void pushColorFilter(Color color, TransferMode transferMode)

Pushes a color filter operation onto the operation stack.

The given color is applied to the objects' rasterization using the given transfer mode.

See pop for details about the operation stack.

Source

void pushColorFilter(Color color, TransferMode transferMode) {
  _pushColorFilter(color.value, transferMode.index);
}