In flutter, how can we show the native views via method channel?. I had gone through these articles of platform views:

1. <https://60devs.com/how-to-add-native-code-to-flutter-app-using-platform-views-android.html>
2. <https://itnext.io/using-native-ui-in-flutter-with-platformview-6b9d46265332>

These tutorials are good if you want to communicate (send and receive data) between flutter and android/ios.

But I want to show my already built android activity on the flutter side. But still, I am not able to understand; how and where I will link my XML layout on the native android side.
if anyone can help me with code, it will be beneficial for everybody. Thank you