LiveInteractiveViewer.builder constructor

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

Implementation

const factory LiveInteractiveViewer.builder({
  Key? key,
  MutableCell<Matrix4>? transformation,
  Clip clipBehavior,
  PanAxis panAxis,
  EdgeInsets boundaryMargin,
  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 InteractiveViewerWidgetBuilder builder,
}) = _LiveInteractiveViewer$builder;