setBannerBackgroundColor static method

void setBannerBackgroundColor(
  1. String adUnitId,
  2. String hexColorCodeString
)

Sets a background color for the banner with the specified adUnitId.

Only hex strings ('#xxxxxx') are accepted.

Implementation

static void setBannerBackgroundColor(String adUnitId, String hexColorCodeString) {
  channel.invokeMethod('setBannerBackgroundColor', {
    'ad_unit_id': adUnitId,
    'hex_color_code': hexColorCodeString,
  });
}