Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add onboarding screen (#651) #671

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Udhay-Adithya
Copy link
Contributor

@Udhay-Adithya Udhay-Adithya commented Mar 17, 2025

PR Description

This PR adds an Onboarding Screen to the mobile version of the API Dash. If the user is launching the app for the first time, they will be directed to the onboarding flow before accessing the main dashboard.

Changes

  1. Implemented OnboardingScreen() with three slides containing Lottie animations, titles, and descriptions and a button to skip all slides.
  2. Added carousel_slider for smooth and swipe-based scrolling.
  3. Updated DashApp to check onboarding status using SharedPreferences.
  4. Ensured onboarding is only triggered on mobile (kIsMobile).

Preview

Lottie Files Used:
api_server.json
files.json
generate.json

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

  • Yes
  • No, and this is why: I will add test cases once the pr is reviewed

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant