setBackButtonVisibility method
Set the back button visibility dynamically.
This method allows you to show or hide the back button in the app bar.
Parameters:
visible- Whether the back button should be visible
Returns true if the back button visibility was set successfully, false otherwise.
Implementation
Future<bool> setBackButtonVisibility({required bool visible}) {
throw UnimplementedError('setBackButtonVisibility() has not been implemented.');
}