dragStartBehavior property

DragStartBehavior dragStartBehavior
getter/setter pair

Determines what point is used as the starting point in all calculations involving this gesture.

When set to DragStartBehavior.down, the scale is calculated starting from the position where the pointer first contacted the screen.

When set to DragStartBehavior.start, the scale is calculated starting from the position where the scale gesture began. The scale gesture may begin after the time that the pointer first contacted the screen if there are multiple listeners competing for the gesture. In that case, the gesture arena waits to determine whether or not the gesture is a scale gesture before giving the gesture to this GestureRecognizer. This happens in the case of nested GestureDetectors, for example.

Defaults to DragStartBehavior.down.

See also:

Implementation

DragStartBehavior dragStartBehavior;