setDefaultPageColor method

Future<void> setDefaultPageColor(
  1. int red,
  2. int green,
  3. int blue
)

Sets the default page 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> setDefaultPageColor(int red, int green, int blue) {
  return _channel.invokeMethod(
      Functions.setDefaultPageColor, <String, dynamic>{
    Parameters.red: red,
    Parameters.green: green,
    Parameters.blue: blue
  });
}