Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit c83a698

Browse files
author
Chris Yang
authored
update uikit view documentation (#118715)
* update uikit view documentation * fix
1 parent bb8b96a commit c83a698

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/flutter/lib/src/rendering/platform_view.dart

-7
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,6 @@ class RenderAndroidView extends PlatformViewRenderBox {
278278

279279
/// A render object for an iOS UIKit UIView.
280280
///
281-
/// {@template flutter.rendering.RenderUiKitView}
282-
/// Embedding UIViews is still preview-quality. To enable the preview for an iOS app add a boolean
283-
/// field with the key 'io.flutter.embedded_views_preview' and the value set to 'YES' to the
284-
/// application's Info.plist file. A list of open issued with embedding UIViews is available on
285-
/// [Github](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22a%3A+platform-views%22+label%3Aplatform-ios+sort%3Acreated-asc)
286-
/// {@endtemplate}
287-
///
288281
/// [RenderUiKitView] is responsible for sizing and displaying an iOS
289282
/// [UIView](https://developer.apple.com/documentation/uikit/uiview).
290283
///

packages/flutter/lib/src/widgets/platform_view.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ class AndroidView extends StatefulWidget {
202202
// TODO(ychris): remove the documentation for conic path not supported once https://github.com/flutter/flutter/issues/35062 is resolved.
203203
/// Embeds an iOS view in the Widget hierarchy.
204204
///
205-
/// {@macro flutter.rendering.RenderUiKitView}
206-
///
207205
/// Embedding iOS views is an expensive operation and should be avoided when a Flutter
208206
/// equivalent is possible.
209207
///
@@ -216,6 +214,7 @@ class AndroidView extends StatefulWidget {
216214
/// Construction of UIViews is done asynchronously, before the UIView is ready this widget paints
217215
/// nothing while maintaining the same layout constraints.
218216
///
217+
/// Clipping operations on a UiKitView can result slow performance.
219218
/// If a conic path clipping is applied to a UIKitView,
220219
/// a quad path is used to approximate the clip due to limitation of Quartz.
221220
class UiKitView extends StatefulWidget {

0 commit comments

Comments
 (0)