mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +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.
|
/// 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';
|
|||||||
|
|
||||||
/// 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.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user