Remove AndroidViewController.id deprecation (#90294)

This commit is contained in:
Kate Lovett 2021-10-01 11:03:02 -05:00 committed by GitHub
parent eda41e5720
commit 778876597a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -790,13 +790,6 @@ abstract class AndroidViewController extends PlatformViewController {
/// disposed.
int? get textureId;
/// The unique identifier of the Android view controlled by this controller.
@Deprecated(
'Call `controller.viewId` instead. '
'This feature was deprecated after v1.20.0-2.0.pre.',
)
int get id => viewId;
/// Sends an Android [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent)
/// to the view.
///

View File

@ -97,9 +97,6 @@ class FakeAndroidViewController implements AndroidViewController {
void addOnPlatformViewCreatedListener(PlatformViewCreatedCallback listener) =>
throw UnimplementedError();
@override
int get id => throw UnimplementedError();
@override
void removeOnPlatformViewCreatedListener(PlatformViewCreatedCallback listener) {
throw UnimplementedError();