Remove AndroidViewController.id deprecation (#90294)
This commit is contained in:
parent
eda41e5720
commit
778876597a
@ -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.
|
||||
///
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user