JsonInteractiveViewerBuilder constructor

JsonInteractiveViewerBuilder({
  1. required bool alignPanAxis,
  2. required EdgeInsets boundaryMargin,
  3. required Clip clipBehavior,
  4. required bool constrained,
  5. required double maxScale,
  6. required double minScale,
  7. GestureScaleEndCallback? onInteractionEnd,
  8. GestureScaleStartCallback? onInteractionStart,
  9. GestureScaleUpdateCallback? onInteractionUpdate,
  10. required bool panEnabled,
  11. required bool scaleEnabled,
  12. required double scaleFactor,
  13. TransformationController? transformationController,
})

Implementation

JsonInteractiveViewerBuilder({
  required this.alignPanAxis,
  required this.boundaryMargin,
  required this.clipBehavior,
  required this.constrained,
  required this.maxScale,
  required this.minScale,
  this.onInteractionEnd,
  this.onInteractionStart,
  this.onInteractionUpdate,
  required this.panEnabled,
  required this.scaleEnabled,
  required this.scaleFactor,
  this.transformationController,
}) : super(numSupportedChildren: kNumSupportedChildren);