---
title: "Create annotations with author names in Flutter"
canonical_url: "https://www.nutrient.io/guides/flutter/annotations/create-edit-and-remove/author-name/"
md_url: "https://www.nutrient.io/guides/flutter/annotations/create-edit-and-remove/author-name.md"
last_updated: "2026-05-18T10:58:39.286Z"
description: "Learn how to set the annotation author in Flutter for better user experience and engagement."
---

# Set the annotation author in Flutter

Each annotation created by your users will contain the annotation author name. By default, Nutrient will ask your users for this name the first time they create an annotation.

## Set the annotation author name programmatically

Set the annotation author name programmatically using the `Nutrient.setDefaultAuthorName` static method. This method sets the default author name for all annotations created in the document. Call this method after initializing `Nutrient`:

```dart

Nutrient.initialize().then((_) {
	Nutrient.setDefaultAuthorName('John Doe');
});

```

Update the author name at any time by calling the `Nutrient.setDefaultAuthorName` method again.

## Get the annotation author name

To retrieve the current annotation author name, use the `Nutrient.getAuthorName()` static method:

```dart

String authorName = await Nutrient.getAuthorName();
print('Author name: $authorName');

```

This is not yet supported on Flutter Web.

---

## Related pages

- [Disable annotation editing in Flutter](/guides/flutter/annotations/create-edit-and-remove/disable-editing.md)
- [Define annotation behavior with flags in Flutter](/guides/flutter/annotations/create-edit-and-remove/annotation-flags.md)
- [Update PDF annotation properties in Flutter](/guides/flutter/annotations/create-edit-and-remove/update-properties.md)
- [Programmatically manage PDF annotations in Flutter](/guides/flutter/annotations/create-edit-and-remove/programmatic.md)

