Which one to use depends on the use case.
Let’s take a look:

Hybrid composition
appends the native android.view.View to the view hierarchy. 
Therefore, keyboard handling, and accessibility work out of the box.
Prior to Android 10, this mode might significantly
reduce the frame throughput (FPS) of the Flutter UI.
For more context, see Performance.

Virtual displays
render the android.view.View instance to a texture, 
so it’s not embedded within the Android Activity’s view hierarchy.
Certain platform interactions such as keyboard handling
and accessibility features might not work.

To create a platform view on Android,
use the following steps:

On the Dart side

On the Dart side, create a Widget
and add one of the following build implementations.

Hybrid composition

In your Dart file,
for example native_view_example.dart,
use the following instructions:

Add the following imports: