LiveInteractiveViewer constructor

const LiveInteractiveViewer({
  1. Key? key,
  2. MutableCell<Matrix4>? transformation,
  3. Clip clipBehavior,
  4. PanAxis panAxis,
  5. EdgeInsets boundaryMargin,
  6. bool constrained,
  7. double maxScale,
  8. double minScale,
  9. double interactionEndFrictionCoefficient,
  10. void onInteractionEnd(
    1. ScaleEndDetails
    )?,
  11. void onInteractionStart(
    1. ScaleStartDetails
    )?,
  12. void onInteractionUpdate(
    1. ScaleUpdateDetails
    )?,
  13. bool panEnabled,
  14. bool scaleEnabled,
  15. double scaleFactor,
  16. Alignment? alignment,
  17. bool trackpadScrollCausesScale,
  18. required Widget child,
})

Implementation

const factory LiveInteractiveViewer({
  Key? key,
  MutableCell<Matrix4>? transformation,
  Clip clipBehavior,
  PanAxis panAxis,
  EdgeInsets boundaryMargin,
  bool constrained,
  double maxScale,
  double minScale,
  double interactionEndFrictionCoefficient,
  void Function(ScaleEndDetails)? onInteractionEnd,
  void Function(ScaleStartDetails)? onInteractionStart,
  void Function(ScaleUpdateDetails)? onInteractionUpdate,
  bool panEnabled,
  bool scaleEnabled,
  double scaleFactor,
  Alignment? alignment,
  bool trackpadScrollCausesScale,
  required Widget child,
}) = _LiveInteractiveViewer$new;