onBackPressed method

Future<bool> onBackPressed()

Implementation

Future<bool> onBackPressed() async {
  close();
  return false;
}