Flutter Engine
The Flutter Engine
|
Additional Inherited Members | |
Public Member Functions inherited from io.flutter.embedding.engine.renderer.RenderSurface | |
FlutterRenderer | getAttachedRenderer () |
void | attachToRenderer (@NonNull FlutterRenderer renderer) |
void | detachFromRenderer () |
void | pause () |
void | resume () |
Paints a Flutter UI on a android.view.Surface
.
To begin rendering a Flutter UI, the owner of this FlutterSurfaceView
must invoke attachToRenderer(FlutterRenderer)
with the desired FlutterRenderer
.
To stop rendering a Flutter UI, the owner of this FlutterSurfaceView
must invoke detachFromRenderer()
.
A FlutterSurfaceView
is intended for situations where a developer needs to render a Flutter UI, but does not require any keyboard input, gesture input, accessibility integrations or any other interactivity beyond rendering. If standard interactivity is desired, consider using a FlutterView
which provides all of these behaviors and utilizes a
internally.
FlutterSurfaceView
Definition at line 36 of file FlutterSurfaceView.java.