JsonInteractiveViewerBuilder constructor
const
JsonInteractiveViewerBuilder({
- Alignment? alignment,
- required EdgeInsets boundaryMargin,
- required Clip clipBehavior,
- required bool constrained,
- required double interactionEndFrictionCoefficient,
- required double maxScale,
- required double minScale,
- GestureScaleEndCallback? onInteractionEnd,
- GestureScaleStartCallback? onInteractionStart,
- GestureScaleUpdateCallback? onInteractionUpdate,
- required PanAxis panAxis,
- required bool panEnabled,
- required bool scaleEnabled,
- required double scaleFactor,
- TransformationController? transformationController,
Implementation
const JsonInteractiveViewerBuilder({
this.alignment,
required this.boundaryMargin,
required this.clipBehavior,
required this.constrained,
required this.interactionEndFrictionCoefficient,
required this.maxScale,
required this.minScale,
this.onInteractionEnd,
this.onInteractionStart,
this.onInteractionUpdate,
required this.panAxis,
required this.panEnabled,
required this.scaleEnabled,
required this.scaleFactor,
this.transformationController,
}) : super(numSupportedChildren: kNumSupportedChildren);