---
title: "Save as PDFs in Flutter"
canonical_url: "https://www.nutrient.io/guides/flutter/save-a-document/save-as/"
md_url: "https://www.nutrient.io/guides/flutter/save-a-document/save-as.md"
last_updated: "2026-05-19T17:02:29.826Z"
description: "Learn how to implement Save As functionality for PDFs in Flutter, allowing users to create editable documents easily."
---

# How to use Save As for PDFs in Flutter

It’s not uncommon for customers to want a setup where a document is read-only but users can still edit it and then use the Save As functionality to save the modified document to a new location. Nutrient supports saving documents with the Save As functionality.

After displaying a document on Flutter using either [`NutrientView`](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter/NutrientView-class.html) or [`Nutrient.present()`](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter/Nutrient/present.html), Save As can be implemented by following these steps:

- Ensuring `disableAutosave` is set to `true` in the configuration.

- Calling the `processAnnotations` API on either [`NutrientViewController`](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter/NutrientViewController-class.html) or the [`Nutrient`](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter/Nutrient-class.html) plugin when a custom Flutter `Button` widget is pressed.

## NutrientView and NutrientViewController

The code for this on Dart looks something like this:

```dart

 @override
Widget build(BuildContext context) {
    //...
 return Scaffold(
        //...
          body: Column(children: [
                    Expanded(
                      child: NutrientView(
                        document: documentPath,
                        configuration: configuration,
                        onViewCreated: onPlatformViewCreated),
                    SizedBox(
                        child: ElevatedButton(
                          onPressed: () async {
                            // Ensure that the path for the new document is a writable path.
                            // You can use a package like https://pub.dev/packages/filesystem_picker to allow users to select the directory and name of the file to save.
                            final newDocumentPath = await getExportPath(
                                'PDFs/Embedded/new_pdf_document.pdf');

                            await nutrientViewController.processAnnotations(
                                'all', 'embed', newDocumentPath);

                            print(
                                'Document has been saved to $newDocumentPath');
                          },
                          child: const Text('Save Document As'))
                    ))]
                ));
//...
}

//...

// This method is part of the custom widget's class.
  Future<void> onPlatformViewCreated(controller) async {
    nutrientViewController = controller;
  }

```

Save As is currently only available on iOS. Support for Save As on Android is coming soon.
---

## Related pages

- [Auto save PDF files in Flutter](/guides/flutter/save-a-document.md)
- [Conflict resolution](/guides/flutter/save-a-document/conflict-resolution.md)
- [Save a document to a remote server in Flutter](/guides/flutter/save-a-document/save-to-remote.md)
- [Detecting unsaved changes in PDFs](/guides/flutter/save-a-document/detect-unsaved-changes.md)
- [Supported document save options in Flutter](/guides/flutter/save-a-document/save-options.md)

