Fix DragUpdateDetails docs (#4350)
I changed the behavior late in the code review but didn't update this dartdoc.
This commit is contained in:
parent
24dbf31a85
commit
daa0e7fa52
@ -74,9 +74,10 @@ class DragUpdateDetails {
|
||||
/// update.
|
||||
///
|
||||
/// If the [GestureDragUpdateCallback] is for a one-dimensional drag (e.g.,
|
||||
/// a horizontal or vertical drag), then this value contains the non-zero
|
||||
/// component of [delta]. Otherwise, if the [GestureDragUpdateCallback] is for
|
||||
/// a two-dimensional drag (e.g., a pan), then this value is zero.
|
||||
/// a horizontal or vertical drag), then this value contains the component of
|
||||
/// [delta] along the primary axis (e.g., horizontal or vertical,
|
||||
/// respectively). Otherwise, if the [GestureDragUpdateCallback] is for a
|
||||
/// two-dimensional drag (e.g., a pan), then this value is null.
|
||||
final double primaryDelta;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user