show method

Future<bool?> show({
  1. Gravity gravity = Gravity.bottom,
  2. double offset = 0.0,
})

Implementation

Future<bool?> show({Gravity gravity = Gravity.bottom, double offset = 0.0}) async {
  bool? result = await Ads.instance.channelBanner.invokeMethod("showBannerAd", <String, dynamic>{
    'id': id,
    'offset': offset.toString(),
    'gravity': describeEnum(gravity),
    "adType": _adType
  });
  return result;
}