Demo App
A fully functional demo app showcasing all YeboID Flutter SDK widgets.
Source Code
The full source code is available on GitHub:
github.com/omegathesecond/yeboid-demo
Features
The demo app includes all YeboID widgets:
Login Screen
YeboIDLoginButtonwith all 3 styles (filled, outlined, text)- Real OAuth2 authentication flow
Home Screen
YeboIDAvatarin the app bar- Welcome message with user's name
Profile Screen
YeboIDProfileCardwith full user infoYeboIDVerifyButtonfor KYC verification- KYC status display
Settings Screen
- Logout functionality
- Theme toggle (dark/light)
- App version info
Screenshots
| Login | Home | Profile |
|---|---|---|
| Login button styles | Avatar & greeting | Profile card |
Running Locally
bash
# Clone the repo
git clone https://github.com/omegathesecond/yeboid-demo.git
cd yeboid-demo
# Install dependencies
flutter pub get
# Run on device/emulator
flutter runBuilding APK
bash
flutter build apk --releaseThe APK will be at build/app/outputs/flutter-apk/app-release.apk
Configuration
The demo app uses these settings:
dart
YeboIDConfig(
clientId: 'yeboid-demo',
redirectUri: 'yeboid-demo://auth',
)This is a first-party app registered with YeboID, so it skips the consent screen.
Code Structure
lib/
├── main.dart # App entry, YeboIDProvider setup
├── theme/
│ └── app_theme.dart # Midnight Gold theme
└── screens/
├── login_screen.dart # Login with all button styles
├── home_screen.dart # Home with avatar
├── profile_screen.dart # Profile card & verify
└── settings_screen.dart # Logout & settings