Commit daa0e7fa authored by Adam Barth's avatar Adam Barth

Fix DragUpdateDetails docs (#4350)

I changed the behavior late in the code review but didn't update this dartdoc.
parent 24dbf31a
...@@ -74,9 +74,10 @@ class DragUpdateDetails { ...@@ -74,9 +74,10 @@ class DragUpdateDetails {
/// update. /// update.
/// ///
/// If the [GestureDragUpdateCallback] is for a one-dimensional drag (e.g., /// If the [GestureDragUpdateCallback] is for a one-dimensional drag (e.g.,
/// a horizontal or vertical drag), then this value contains the non-zero /// a horizontal or vertical drag), then this value contains the component of
/// component of [delta]. Otherwise, if the [GestureDragUpdateCallback] is for /// [delta] along the primary axis (e.g., horizontal or vertical,
/// a two-dimensional drag (e.g., a pan), then this value is zero. /// respectively). Otherwise, if the [GestureDragUpdateCallback] is for a
/// two-dimensional drag (e.g., a pan), then this value is null.
final double primaryDelta; final double primaryDelta;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment