This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/flutter/user-interface/ui-visibility.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Show or hide UI in Flutter PDF viewer | Nutrient SDK

Nutrient Flutter SDK supports several modes for showing or hiding the user interface (UI). Use these options to control toolbar and UI visibility.

OptionDescription
automaticShows or hides the toolbar and UI when users tap the page.
automaticNoFirstLastPageWorks like automatic, but shows the UI on the first and last page of the document. Android supports this option.
alwaysKeeps the UI visible.
neverKeeps the UI hidden.

Set the userInterfaceViewMode configuration option to change the UI view mode. The following example uses the automatic view mode:

NutrientViewConfiguration(
userInterfaceViewMode: UserInterfaceViewMode.automatic,
)

The following videos show how automatic mode works on Android and iOS:

AndroidiOS