Flutter Engine
The Flutter Engine
List of all members
io.flutter.embedding.android.FlutterSurfaceView Class Reference
Inheritance diagram for io.flutter.embedding.android.FlutterSurfaceView:
io.flutter.embedding.engine.renderer.RenderSurface

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 ()
 

Detailed Description

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
FlutterSurfaceView
internally.

Definition at line 36 of file FlutterSurfaceView.java.


The documentation for this class was generated from the following file: