• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...