closePage abstract method

Future<void> closePage({
  1. required String pageId,
})

Closes the page with the given pageId.

Throws if pageId refers to the initial page (see switchToInitialPage), which cannot be closed.

Implementation

Future<void> closePage({required String pageId});