Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of this struct. Must be sizeof(FlutterPlatformView). More... | |
FlutterPlatformViewIdentifier | identifier |
size_t | mutations_count |
const FlutterPlatformViewMutation ** | mutations |
Definition at line 1714 of file embedder.h.
FlutterPlatformViewIdentifier FlutterPlatformView::identifier |
The identifier of this platform view. This identifier is specified by the application when a platform view is added to the scene via the SceneBuilder.addPlatformView
call.
Definition at line 1720 of file embedder.h.
const FlutterPlatformViewMutation** FlutterPlatformView::mutations |
The mutations to be applied by this platform view before it is composited on-screen. The Flutter application may transform the platform view but these transformations cannot be affected by the Flutter compositor because it does not render platform views. Since the embedder is responsible for composition of these views, it is also the embedder's responsibility to affect the appropriate transformation.
The mutations must be applied in order. The mutations done in the collection don't take into account the device pixel ratio or the root surface transformation. If these exist, the first mutation in the list will be a transformation mutation to make sure subsequent mutations are in the correct coordinate space.
Definition at line 1736 of file embedder.h.
size_t FlutterPlatformView::mutations_count |
The number of mutations to be applied to the platform view by the embedder before on-screen composition.
Definition at line 1723 of file embedder.h.
size_t FlutterPlatformView::struct_size |
The size of this struct. Must be sizeof(FlutterPlatformView).
Definition at line 1716 of file embedder.h.