fittingBannerSizesPortrait method

Future<List<BannerSize>?> fittingBannerSizesPortrait()

Returns the set of 'BannerSize' that will fit on a given device in portrait screen orientation.

Implementation

Future<List<BannerSize>?> fittingBannerSizesPortrait() async {
  try {
    return await AatkitFlutterPluginPlatform.instance
        .fittingBannerSizesPortrait();
  } on PlatformException catch (e) {
    aatkitLog("PlatformException, error: $e");
    return null;
  }
}