mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
Add a note about the Android API level requirement for AndroidView. (#21386)
This commit is contained in:
parent
fc8dbd3c44
commit
bae44b29df
|
@ -38,6 +38,8 @@ enum _PlatformViewState {
|
|||
|
||||
/// 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
|
||||
/// Android [View](https://developer.android.com/reference/android/view/View).
|
||||
///
|
||||
|
|
|
@ -13,6 +13,8 @@ import 'framework.dart';
|
|||
|
||||
/// 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
|
||||
/// equivalent is possible.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue