Clarify what AndroidMotionEvent is for. (#76752)
This commit is contained in:
parent
09e3a3ef33
commit
199d5dc086
@ -347,6 +347,14 @@ class AndroidPointerCoords {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A Dart version of Android's [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent).
|
/// A Dart version of Android's [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent).
|
||||||
|
///
|
||||||
|
/// This is used by [AndroidViewController] to describe pointer events that are forwarded to a platform view
|
||||||
|
/// when Flutter receives an event that it determines is to be handled by that platform view rather than by
|
||||||
|
/// another Flutter widget.
|
||||||
|
///
|
||||||
|
/// See also:
|
||||||
|
///
|
||||||
|
/// * [AndroidViewController.sendMotionEvent], which can be used to send an [AndroidMotionEvent] explicitly.
|
||||||
class AndroidMotionEvent {
|
class AndroidMotionEvent {
|
||||||
/// Creates an AndroidMotionEvent.
|
/// Creates an AndroidMotionEvent.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user