handleAndroidBackButtonPress property
Handles android back button actions. Defaults to true
.
Action based on scenarios:
- If the you are on the first tab with all screens popped of the given tab, the app will close.
- If you are on another tab with all screens popped of that given tab, you will be switched to first tab.
- If there are screens pushed on the selected tab, a screen will pop on a respective back button press.
Implementation
final bool? handleAndroidBackButtonPress;