ExtendedInteractiveViewer constructor

const ExtendedInteractiveViewer({
  1. Key? key,
  2. required Widget child,
  3. bool enableInteraction = true,
  4. required EdgeInsets boundaryMargin,
  5. required bool enableZoom,
  6. required double minScale,
  7. required double maxScale,
  8. required GestureScaleStartCallback? onInteractionStart,
  9. required GestureScaleUpdateCallback? onInteractionUpdate,
  10. required GestureScaleEndCallback? onInteractionEnd,
  11. dynamic onMatrix4Change(
    1. Matrix4 value
    )?,
  12. Matrix4? initialMatrix4,
})

Creates an ExtendedInteractiveViewer with the given parameters.

Implementation

const ExtendedInteractiveViewer({
  super.key,
  required this.child,
  this.enableInteraction = true,
  required this.boundaryMargin,
  required this.enableZoom,
  required this.minScale,
  required this.maxScale,
  required this.onInteractionStart,
  required this.onInteractionUpdate,
  required this.onInteractionEnd,
  this.onMatrix4Change,
  this.initialMatrix4,
});