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
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
maybeistrue, it will attempt to pop only if possible without causing errors.Any provided
resultwill be passed back to the previous page.
How to Use
Attach the action to a widget event (e.g., on a button tap).
Select Pop from the action list.
Optionally configure
maybeand/orresultif needed.
Last updated