In my app, there are multiple servers. User can select a server before login. When I used flutter_login, I encountered a scenario in which, user has no way to go back to server selection screen if he accidentally selected a wrong server to login.
To overcome this, I needed a widget that helps to navigate back. I introduced as IntroWidget for this, This widget can be placed before the Text fields and have logics to navigate away from the login screen.
Please review and accept the change. If this can be addressed differently, please advise me.
Note, I have disabled debug buttons, intentionally. You may ignore that change.
In my app, there are multiple servers. User can select a server before login. When I used flutter_login, I encountered a scenario in which, user has no way to go back to server selection screen if he accidentally selected a wrong server to login.
To overcome this, I needed a widget that helps to navigate back. I introduced as IntroWidget for this, This widget can be placed before the Text fields and have logics to navigate away from the login screen.
Please review and accept the change. If this can be addressed differently, please advise me.
Note, I have disabled debug buttons, intentionally. You may ignore that change.