popScreen method

void popScreen(
  1. BuildContext context
)

Pop the current route

Implementation

void popScreen(BuildContext context) {
  Navigator.of(context).pop();
}