Would need a user-independent database to store whether the user has been to the onboarding screen or not. Since I'm planning to introduce a user-dependent database in the next PR, I believe using another storage solution would be the simplest way forward. Specifically I'll be using shared_preferences.
Deed
[x] Add shared_preferences.
[x] When user finishes the splash intro, a key (is_first_open) would be set to false.
[x] Allow the user to walk-through onboarding screen multiple times from the StartScreen
[x] Enhance the is_first_open check and shared_preferences into a standalone feature of sorts.
Would need a user-independent database to store whether the user has been to the onboarding screen or not. Since I'm planning to introduce a user-dependent database in the next PR, I believe using another storage solution would be the simplest way forward. Specifically I'll be using
shared_preferences
.Deed
shared_preferences
.is_first_open
) would be set to false.StartScreen
is_first_open
check andshared_preferences
into a standalone feature of sorts.