setView method
- int view
Switches the view of the LandingPage.
view is the index of the view to switch to:
- 0: Register
- 1: Login
- 2: Reset password
Implementation
void setView(int view) {
state = (current: view, previous: state.current);
}
Switches the view of the LandingPage.
view is the index of the view to switch to:
void setView(int view) {
state = (current: view, previous: state.current);
}