createNativeBanner method
- Key? key,
- required BannerCreationParams creationParams,
override
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');
}
}