createNativeBanner method
Implementation
@override
Widget createNativeBanner({
Key? key,
required BannerCreationParams creationParams,
}) {
if (Platform.isAndroid) {
return NativeViewAndroid(
key: key,
creationParams: creationParams,
);
} else if (Platform.isIOS) {
return NativeViewIos(
key: key,
creationParams: creationParams,
);
} else {
throw UnsupportedError('Unsupported platform view');
}
}