createDisplayPage method
Implementation
@override
Widget createDisplayPage() {
if (Platform.isAndroid) {
return AndroidView(
viewType: 'MyLocationPlatformView',
);
} else if (Platform.isIOS) {
return UiKitView(
viewType: 'MyLocationPlatformView',
);
}
return Text('platform is not yet supported by this plugin');
}