Class PlatformViewsChannel.PlatformViewResizeRequest

java.lang.Object
io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewResizeRequest
Enclosing class:
PlatformViewsChannel

public static class PlatformViewsChannel.PlatformViewResizeRequest extends Object
Request sent from Flutter to resize a platform view.
  • Field Details

    • viewId

      public final int viewId
      The ID of the platform view as seen by the Flutter side.
    • newLogicalWidth

      public final double newLogicalWidth
      The new density independent width to display the platform view.
    • newLogicalHeight

      public final double newLogicalHeight
      The new density independent height to display the platform view.
  • Constructor Details

    • PlatformViewResizeRequest

      public PlatformViewResizeRequest(int viewId, double newLogicalWidth, double newLogicalHeight)