onPlatformViewCreated method
Called when the native view has been created.
Implementation
@override
void onPlatformViewCreated(String viewType, int id) {
final methodChannel = MethodChannel('$viewType/$id/method');
_methodChannelCompleter.complete(methodChannel);
onCreate?.call(methodChannel);
}