insertNetworkImage method

void insertNetworkImage({
  1. required String url,
  2. String filename = "",
})

Insert a network image at the position of the cursor in the editor.

Implementation

void insertNetworkImage({required String url, String filename = ""}) =>
    sendEvent(EditorInsertImageLink(url: url, filename: filename));