pop static method
Pops the current page from the navigation stack.
This is equivalent to calling NavPages.of(context).pop(). Does nothing if there are no pages to pop.
Example:
NavPages.pop(context);
Implementation
static void pop(BuildContext context) {
of(context).pop();
}