Unverified Commit bae44b29 authored by Amir Hardon's avatar Amir Hardon Committed by GitHub

Add a note about the Android API level requirement for AndroidView. (#21386)

parent fc8dbd3c
...@@ -38,6 +38,8 @@ enum _PlatformViewState { ...@@ -38,6 +38,8 @@ enum _PlatformViewState {
/// A render object for an Android view. /// A render object for an Android view.
/// ///
/// Requires Android API level 20 or greater.
///
/// [RenderAndroidView] is responsible for sizing, displaying and passing touch events to an /// [RenderAndroidView] is responsible for sizing, displaying and passing touch events to an
/// Android [View](https://developer.android.com/reference/android/view/View). /// Android [View](https://developer.android.com/reference/android/view/View).
/// ///
......
...@@ -13,6 +13,8 @@ import 'framework.dart'; ...@@ -13,6 +13,8 @@ import 'framework.dart';
/// Embeds an Android view in the Widget hierarchy. /// Embeds an Android view in the Widget hierarchy.
/// ///
/// Requires Android API level 20 or greater.
///
/// Embedding Android views is an expensive operation and should be avoided when a Flutter /// Embedding Android views is an expensive operation and should be avoided when a Flutter
/// equivalent is possible. /// equivalent is possible.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment