JsonInteractiveViewerBuilder constructor
JsonInteractiveViewerBuilder({
- required bool alignPanAxis,
- required EdgeInsets boundaryMargin,
- required Clip clipBehavior,
- required bool constrained,
- required double maxScale,
- required double minScale,
- GestureScaleEndCallback? onInteractionEnd,
- GestureScaleStartCallback? onInteractionStart,
- GestureScaleUpdateCallback? onInteractionUpdate,
- required bool panEnabled,
- required bool scaleEnabled,
- required double scaleFactor,
- 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);