Resource Base
Table of contents

ImageEditorView

ImageEditorView is a widget that allows users to add interactable UI elements on the view.

Definition

Assembly: dynamsoft_capture_vision_flutter

class ImageEditorView extends StatefulWidget

Constructors

const ImageEditorView({
  super.key,
  this.imageData,
  this.drawingQuadsByLayer,
  this.onPlatformViewCreated,
});

Properties

Property Description
imageData The initial image to display in the editor when created.
drawingQuadsByLayer Pre-populated drawing quadrilaterals organized by layer.
onPlatformViewCreated Callback invoked when the native platform view is successfully created.

imageData

The initial image to display in the editor when created.

final ImageData? imageData;

drawingQuadsByLayer

Pre-populated drawing quadrilaterals organized by layer.

final Map<EnumDrawingLayerId, List<Quadrilateral>>? drawingQuadsByLayer;

onPlatformViewCreated

Callback invoked when the native platform view is successfully created.

final void Function(ImageEditorViewController)? onPlatformViewCreated;

This page is compatible for: