UiView constructor

const UiView({
  1. Key? key,
  2. required UiViewAdapter adapter,
  3. required String target,
  4. UiRuntimeRegistry? registry,
  5. DeviceFrame? frame,
  6. double initialScale = 1.0,
  7. ValidateFn? validate,
  8. OverlayMode overlay = OverlayMode.auto,
  9. bool showStatusStrip = true,
  10. UiViewController? controller,
  11. ValueChanged<String>? onCopySourceHash,
  12. ViewportInteractionMode viewportInteraction = ViewportInteractionMode.interactiveViewer,
})

Implementation

const UiView({
  super.key,
  required this.adapter,
  required this.target,
  this.registry,
  this.frame,
  this.initialScale = 1.0,
  this.validate,
  this.overlay = OverlayMode.auto,
  this.showStatusStrip = true,
  this.controller,
  this.onCopySourceHash,
  this.viewportInteraction = ViewportInteractionMode.interactiveViewer,
});