removeEditArea method
Removes an edit area from the document.
example:
controller.addEventListener(CPDFEvent.editorSelectionSelected, (event){
if(event is CPDFEditTextArea || event is CPDFEditImageArea || event is CPDFEditPathArea){
document.removeEditArea(event);
}
});
document.removeEditArea(editArea);
Implementation
Future<bool> removeEditArea(CPDFEditArea editArea) async {
return await _channel.invokeMethod('remove_edit_area', {
'page_index': editArea.page,
'uuid': editArea.uuid,
'type': editArea.type.name,
});
}