Hello FlutterFlow Community,
I'm experiencing issues with navigating to different home pages based on a persisted app state boolean in my FlutterFlow application. Here’s a brief overview of my setup and the problems I'm encountering:
Setup:
Two Home Pages: One for clients and one for tattoo artists.
App State: I have a persisted boolean (
homePro
) that determines which home page to navigate to.Login Flow: The initial page is a splash screen that checks the login state and navigates accordingly.
Screenshots:
First two images show the two different home pages (clients and tattoo artists).
Third image shows the initial setup where the login page leads directly to the home page.
Fourth image shows the flow of actions from the splash screen, including a conditional check for navigation.
Issue:
Whenever I try to implement a "wait" screen to check the homePro
boolean in my persisted app state and direct users to the appropriate home page, I encounter crashes or bugs during login, account creation, or when a user is already logged in.
I have already attempted to use a "wait" screen to handle this logic, but it leads to instability.