setBackgroundColor method
Sets the background color of the viewer.
The color is given as RGB values, with each integer being in range between 0 and 255 inclusive.
Implementation
Future<void> setBackgroundColor(int red, int green, int blue) {
return _channel.invokeMethod(
Functions.setBackgroundColor, <String, dynamic>{
Parameters.red: red,
Parameters.green: green,
Parameters.blue: blue
});
}