systemBackNavigation method
Prevent System back navigation or getting call back when the user click the system back button.
Implementation
FormStack systemBackNavigation(
bool disabled, VoidCallback onBackNavigationClick,
{String? formName = "default"}) {
FormStackForm? formStack = _forms[formName];
if (formStack != null) {
formStack.preventSystemBackNavigation = disabled;
formStack.onSystemNagiationBackClick = onBackNavigationClick;
}
return this;
}