handleAndroidBackButtonPress property

  1. @override
bool handleAndroidBackButtonPress
final

Handles android back button actions. Defaults to true.

Action based on scenarios:

  1. If the you are on the first tab with all screens popped of the given tab, the app will close if handleAndroidBackButtonPress is set to false. If handleAndroidBackButtonPress is set to true, nothing will happen.
  2. If you are on another tab with all screens popped of that given tab, you will be switched to first tab.
  3. If there are screens pushed on the selected tab, a screen will pop on a respective back button press.

Implementation

@override
final bool handleAndroidBackButtonPress;