onInteractionEnd property Null safety
Called when the user ends a pan or scale gesture on the widget.
At the time this is called, the TransformationController will have already been updated to reflect the change caused by the interaction, though a pan may cause an inertia animation after this is called as well.
A GestureDetector wrapping the InteractiveViewer will not respond to GestureDetector.onScaleStart, GestureDetector.onScaleUpdate, and GestureDetector.onScaleEnd. Use onInteractionStart, onInteractionUpdate, and onInteractionEnd to respond to those gestures.
final GestureScaleEndCallback? onInteractionEnd;