• Amir Hardon's avatar
    Initial framework support for iOS platform views. (#23412) · 67ffe1c2
    Amir Hardon authored
    This PR adds the full framework stack (layer->render object->widget, and
    service) for embedding iOS views with minimal functionality.
    
    I allowed myself to throw the entire framework stack in one PR since we're mostly
    mirroring the structure we already established for embedded Android views, so this PR
    is a little bigger than usual. I'm happy to break it down to the
    different pieces of the stack if reviewers prefer.
    
    Specifically this PR adds:
    * A UiKitView widget for embedding a UIView in the widget tree.
    * A RenderUiKitView which is the render object for showing a
      UIView.
    * A PlatformViewLayer which denotes the position of a UIView in the
      layer tree.
    * The iOS platform_views system channel client code in services/platform_views.dart
    * Splits the fake platform views controller to an Android and iOS
      controllers.
    
    TBD in following PRs:
    * Plumb the layout direction all the way to the platform view (currently
      there is still no engine support for it).
    * Integrate with gesture arenas (engine support is still missing as
      well).
    67ffe1c2
Name
Last commit
Last update
..
src Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...