setBackgroundColor method

void setBackgroundColor(
  1. int red,
  2. int green,
  3. int blue
)

Sets the background colour and forces the core to redraw. Treats red, green and blue as 1 byte channels. Sets alpha to 255.

Implementation

void setBackgroundColor(int red, int green, int blue) {
  setBackgroundColorNative?.call(_sdk, red, green, blue, 0xFF);
}