photo_manager lets you delete images from the gallery via PhotoManager.editor.deleteWithIds([asset.id]), but only if you request correct permissions and work with AssetEntity, not raw file paths.