back method

void back(
  1. BuildContext context
)

Pops the current page off the navigation stack using the given context.

context is the BuildContext for navigation.

Implementation

void back(BuildContext context) {
  Navigator.pop(context);
}