onWillPop method Null safety

Future<bool> onWillPop()

Implementation

Future<bool> onWillPop() async {
  return Future.value(true);
}