ScottishRoss / little_victories

BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Enhancement: Add intro pages #38

Closed ScottishRoss closed 1 year ago

ScottishRoss commented 2 years ago

To explain the concept of Little Victories, it would be good to implement an intro sequence to explain the concepts. Using something like https://pub.dev/packages/intro_views_flutter

It should be stored shared_preferences if a user has already been through it.

Optional: Include a button in Preferences to display the intro pages again.

saksham-gt commented 2 years ago

Hey, can I take this?

ScottishRoss commented 2 years ago

Have a crack at it. I haven't worked out what is going to be said on the intro pages yet, but how about this:

On the first-time app launch, before it gets to the sign_in_screen, the intro_screen is shown using the package mentioned above. It shows 3 widgets with a back/next option and on the final one it has a back/finish button (the finish navigates to the sign_in_screen.

In app launch, it will need to check secure_storage for "kFirstTime" (in Constants) to decide which page to navigate to.

Does that make sense? I can provide more information when I get time to think it through.

ScottishRoss commented 1 year ago

Closed by #50