Skip to Content
ActionscloseAllDialogs

closeAllDialogs

closeAllDialogs action dismisses or closes all open modal dialogs within the app, allowing developers to easily manage and reset the dialog stack, ensuring a clutter-free and user-friendly interface for a seamless app experience.

Example

MyStartingDialog: body: Column: styles: gap: 10 children: - Text: text: Welcome to Ensemble styles: fontSize: 16 fontWeight: bold - Text: text: This dialog pops up when the user first visits the page. - Button: label: Close dialog onTap: closeAllDialogs

The complete example here  demonstrates its usage along with showDialog

Last updated on