PaintingEditor.network constructor

PaintingEditor.network(
  1. String networkUrl, {
  2. Key? key,
  3. required PaintEditorInitConfigs initConfigs,
})

Constructs a PaintingEditor widget with an image loaded from a network URL.

Implementation

factory PaintingEditor.network(
  String networkUrl, {
  Key? key,
  required PaintEditorInitConfigs initConfigs,
}) {
  return PaintingEditor._(
    key: key,
    editorImage: EditorImage(networkUrl: networkUrl),
    initConfigs: initConfigs,
  );
}