---
title: "Get page information in Flutter | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/flutter/viewer/page-info/"
md_url: "https://www.nutrient.io/guides/flutter/viewer/page-info.md"
last_updated: "2026-07-31T00:00:00.000Z"
description: "Retrieve PDF page information, such as size and rotation, using Nutrient Flutter SDK."
---

# Get page information in the Nutrient Flutter SDK PDF viewer

Nutrient Flutter SDK retrieves page information from a PDF document, including page size and rotation. Call `getPageInfo()` on the document exposed by the controller, `controller.document`. The method returns a `PageInfo` object with information about the page. Refer to the [Nutrient document interface](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter.bindings/NutrientDocumentInterface-class.html) and [page info](https://pub.dev/documentation/nutrient_flutter/latest/nutrient_flutter.bindings/PageInfo-class.html) API references for details.

The following example gets page information from a document:

```dart

NutrientDocumentView(
  documentPath: documentPath,
  onControllerReady: (controller) {
    controller.events.documentLoaded.listen((_) async {
      final pageInfo = await controller.document.getPageInfo(0);
      print('Page size: ${pageInfo.width} x ${pageInfo.height}');
    });
  },
)

```

`PageInfo` exposes `pageIndex`, `width`, `height`, `rotation`, and `label`.

For more details about getting page information with Nutrient Flutter SDK, refer to the [Catalog example project](https://github.com/PSPDFKit/pspdfkit-flutter).
---

## Related pages

- [Flutter PDF viewer library](/guides/flutter/viewer.md)
- [Coordinate conversion in the Flutter PDF viewer](/guides/flutter/viewer/coordinate-conversion.md)
- [Flutter image viewer library](/guides/flutter/viewer/images.md)
- [Customize page navigation in the Flutter PDF viewer](/guides/flutter/viewer/page-navigation.md)
- [Configure scroll direction and page transitions in the Flutter viewer](/guides/flutter/viewer/page-transition.md)
- [Use Reader View for iOS](/guides/flutter/viewer/reader-view.md)
- [Nutrient Flutter SDK web PDF viewer](/guides/flutter/viewer/web.md)
- [Customize zoom options in the Flutter PDF viewer](/guides/flutter/viewer/zooming.md)

