transparent

build

()

// Using a cached FlutterEngine.

val

flutterFragment

FlutterFragment

withCachedEngine

"my_engine_id"

transparencyMode

FlutterView

TransparencyMode

transparent

build

()

The relationship between FlutterFragment and its Activity

Some apps choose to use Fragments as entire Android screens.
In these apps, it would be reasonable for a Fragment to
control system chrome like Android’s status bar,
navigation bar, and orientation.