JsonInteractiveViewerBuilder constructor

const JsonInteractiveViewerBuilder({
  1. Alignment? alignment,
  2. required EdgeInsets boundaryMargin,
  3. required Clip clipBehavior,
  4. required bool constrained,
  5. required double interactionEndFrictionCoefficient,
  6. required double maxScale,
  7. required double minScale,
  8. GestureScaleEndCallback? onInteractionEnd,
  9. GestureScaleStartCallback? onInteractionStart,
  10. GestureScaleUpdateCallback? onInteractionUpdate,
  11. required PanAxis panAxis,
  12. required bool panEnabled,
  13. required bool scaleEnabled,
  14. required double scaleFactor,
  15. 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);