setDefaultBackgroundColorOverride method

Future<void> setDefaultBackgroundColorOverride({
  1. RGBA? color,

Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one. color RGBA of the default background color. If not specified, any existing override will be cleared.


Future<void> setDefaultBackgroundColorOverride({dom.RGBA? color}) async {
  await _client.send('Emulation.setDefaultBackgroundColorOverride', {
    if (color != null) 'color': color,