flame

How to create an iOS or Android view as a component?


Can I create an iOS or Android view as a component? I want use Native VideoPlayer in Flame.

Like: NativeView -> Flutter Widget -> Flame Component or NativeView -> Flame Component

I have successfully tried bridging a NativeView to a Flutter Widget, but I have no idea how to bridge it as a Flame Component.


Solution

  • No, you can't have an iOS or android view as a component inside of Flame. You can show it as an overlay though.