Class PlatformViewsChannel.PlatformViewResizeRequest
java.lang.Object
io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewResizeRequest
- Enclosing class:
- PlatformViewsChannel
Request sent from Flutter to resize a platform view.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleThe new density independent height to display the platform view.final doubleThe new density independent width to display the platform view.final intThe ID of the platform view as seen by the Flutter side. -
Constructor Summary
ConstructorsConstructorDescriptionPlatformViewResizeRequest(int viewId, double newLogicalWidth, double newLogicalHeight) -
Method Summary
-
Field Details
-
viewId
public final int viewIdThe ID of the platform view as seen by the Flutter side. -
newLogicalWidth
public final double newLogicalWidthThe new density independent width to display the platform view. -
newLogicalHeight
public final double newLogicalHeightThe new density independent height to display the platform view.
-
-
Constructor Details
-
PlatformViewResizeRequest
public PlatformViewResizeRequest(int viewId, double newLogicalWidth, double newLogicalHeight)
-