popNavigator method

void popNavigator(
  1. BuildContext context
)

Implementation

void popNavigator(BuildContext context) {
  Navigator.of(context).pop();
  displayed = false;
}