Class PlatformViewsChannel.PlatformViewResizeRequest

  • Enclosing class:
    PlatformViewsChannel

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

      • 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 Detail

      • PlatformViewResizeRequest

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