diff --git a/packages/flutter/lib/src/services/platform_views.dart b/packages/flutter/lib/src/services/platform_views.dart index 2a3bf8c9fe..897fca8dcd 100644 --- a/packages/flutter/lib/src/services/platform_views.dart +++ b/packages/flutter/lib/src/services/platform_views.dart @@ -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. /// diff --git a/packages/flutter/test/services/fake_platform_views.dart b/packages/flutter/test/services/fake_platform_views.dart index bdd187687b..d6423832dd 100644 --- a/packages/flutter/test/services/fake_platform_views.dart +++ b/packages/flutter/test/services/fake_platform_views.dart @@ -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();