public static class PlatformViewsChannel.PlatformViewCreationRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
direction
The layout direction of the new platform view.
|
double |
logicalHeight
The density independent height to display the platform view.
|
double |
logicalWidth
The density independent width to display the platform view.
|
ByteBuffer |
params
Custom parameters that are unique to the desired platform view.
|
int |
viewId
The ID of the platform view as seen by the Flutter side.
|
String |
viewType
The type of Android
View to create for this platform view. |
| Constructor and Description |
|---|
PlatformViewCreationRequest(int viewId,
String viewType,
double logicalWidth,
double logicalHeight,
int direction,
ByteBuffer params)
Creates a request to construct a platform view that uses a virtual display.
|
public final int viewId
@NonNull public final String viewType
View to create for this platform view.public final double logicalWidth
public final double logicalHeight
public final int direction
@Nullable public final ByteBuffer params
public PlatformViewCreationRequest(int viewId,
@NonNull
String viewType,
double logicalWidth,
double logicalHeight,
int direction,
@Nullable
ByteBuffer params)