onBackPressed method

void onBackPressed(
  1. BuildContext context
)

Implementation

void onBackPressed(BuildContext context) {
  context.maybePop();
}