Clarify what AndroidMotionEvent is for. (#76752)

This commit is contained in:
Ian Hickson 2021-02-28 14:36:02 -08:00 committed by GitHub
parent 09e3a3ef33
commit 199d5dc086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,6 +347,14 @@ class AndroidPointerCoords {
}
/// 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 {
/// Creates an AndroidMotionEvent.
///