Pop

The Pop action is used to close the current page or screen, returning to the previous one in the navigation stack. This is a common way to navigate backward in apps.

Use Cases

  • Closing a detail screen and returning to the list.

  • Dismissing a modal or dialog.

  • Navigating back after completing a task.

Properties

Property
Description

maybe

Optional boolean that determines whether the pop should be attempted safely without throwing errors if no previous page exists. Defaults to false.

result

Optional data or result to send back to the previous page when popping. This can be any JSON-serializable object.

Default Behavior

  • By default, the action pops the current page from the navigation stack.

  • If maybe is true, it will attempt to pop only if possible without causing errors.

  • Any provided result will be passed back to the previous page.

How to Use

  1. Attach the action to a widget event (e.g., on a button tap).

  2. Select Pop from the action list.

  3. Optionally configure maybe and/or result if needed.

Last updated