handleAndroidBackButtonPress property

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.
  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

final bool handleAndroidBackButtonPress;