From 49cce984834c5a007a15e74988f7a153cff32705 Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Mon, 8 Jul 2019 08:24:23 -0700 Subject: [PATCH] add documentation: conic path clipping not supported for UIKitView (#35063) --- packages/flutter/lib/src/widgets/platform_view.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/flutter/lib/src/widgets/platform_view.dart b/packages/flutter/lib/src/widgets/platform_view.dart index 3392a6551b..463d572332 100644 --- a/packages/flutter/lib/src/widgets/platform_view.dart +++ b/packages/flutter/lib/src/widgets/platform_view.dart @@ -184,6 +184,7 @@ class AndroidView extends StatefulWidget { } // TODO(amirh): describe the embedding mechanism. +// TODO(ychris): remove the documentation for conic path not supported once https://github.com/flutter/flutter/issues/35062 is resolved. /// Embeds an iOS view in the Widget hierarchy. /// /// {@macro flutter.rendering.platformView.preview} @@ -199,6 +200,9 @@ class AndroidView extends StatefulWidget { /// /// Construction of UIViews is done asynchronously, before the UIView is ready this widget paints /// nothing while maintaining the same layout constraints. +/// +/// If a conic path clipping is applied to a UIKitView, +/// a quad path is used to approximate the clip due to limitation of Quartz. class UiKitView extends StatefulWidget { /// Creates a widget that embeds an iOS view. ///