close method
void
close()
Closes the editor without applying changes.
Implementation
void close() {
if (initConfigs.onCloseEditor == null) {
Navigator.pop(context);
} else {
initConfigs.onCloseEditor!.call();
}
if (I is PaintEditorInitConfigs) {
paintEditorCallbacks?.handleCloseEditor();
} else if (I is CropRotateEditorInitConfigs) {
cropRotateEditorCallbacks?.handleCloseEditor();
} else if (I is FilterEditorInitConfigs) {
filterEditorCallbacks?.handleCloseEditor();
} else if (I is BlurEditorInitConfigs) {
blurEditorCallbacks?.handleCloseEditor();
}
}