PaintingEditor.memory constructor

PaintingEditor.memory(
  1. Uint8List byteArray, {
  2. Key? key,
  3. required PaintEditorInitConfigs initConfigs,
})

Constructs a PaintingEditor widget with image data loaded from memory.

Implementation

factory PaintingEditor.memory(
  Uint8List byteArray, {
  Key? key,
  required PaintEditorInitConfigs initConfigs,
}) {
  return PaintingEditor._(
    key: key,
    editorImage: EditorImage(byteArray: byteArray),
    initConfigs: initConfigs,
  );
}