GestureDetails constructor
GestureDetails({
- Offset? offset,
- double? totalScale,
- GestureDetails? gestureDetails,
- ActionType actionType = ActionType.pan,
- bool userOffset = true,
Implementation
GestureDetails(
{this.offset,
this.totalScale,
GestureDetails? gestureDetails,
this.actionType = ActionType.pan,
this.userOffset = true}) {
if (gestureDetails != null) {
_computeVerticalBoundary = gestureDetails._computeVerticalBoundary;
_computeHorizontalBoundary = gestureDetails._computeHorizontalBoundary;
_center = gestureDetails._center;
layoutRect = gestureDetails.layoutRect;
destinationRect = gestureDetails.destinationRect;
///zoom end will call twice
/// zoom end
/// zoom start
/// zoom update
/// zoom end
}
}