This is a minimal Flutter app that implements three startup (onboarding) pages based on the provided Figma mockups.
- Full-screen background image with a dark overlay per page
- Large serif headline (Google Fonts – Playfair Display)
- Animated dots indicator
- Prominent "Get Started" button
- Footer legal copy
lib/main.dart– App entry and theminglib/screens/onboarding_screen.dart– PageView + indicator + CTAlib/widgets/onboarding_page.dart– A single onboarding page widgetlib/widgets/primary_button.dart– Reusable CTA buttonlib/screens/home_screen.dart– Placeholder destination after onboardingassets/images/– Put your background images here (see below)
Add three background images in the following paths:
assets/images/bg1.jpg
assets/images/bg2.jpg
assets/images/bg3.jpg
You can replace them with any JPEG/PNG files. The names can be changed, but then also update the paths referenced in onboarding_screen.dart.
Make sure Flutter SDK is installed and available in your PATH.
# From the repo root
cd "c:\Users\fatha\OneDrive\Documents\TugasKuliah\Semester5\RPL\Project\frontend"
# (One-time) create missing platform folders based on the existing pubspec/lib
flutter create .
# Fetch packages and run
flutter pub get
flutter runIf you want to tweak colors/fonts:
- Primary color is a warm orange
#DE8E54. - Title uses
Playfair Displayviagoogle_fonts. - Body and captions use
Interviagoogle_fonts.
- The onboarding copy is embedded directly in the code so you can localize or fetch it from an API later.
- If you prefer bundling a custom font instead of Google Fonts, add it under
assets/fonts/and declare it inpubspec.yaml.