Demo App¶
Reference implementation showing core_services + ui_kit in a real Flutter app.
Purpose¶
The Demo App serves as:
- Integration test — proves core_services and ui_kit work together end-to-end
- Reference implementation — shows other app teams how to use platform packages correctly
- Showcase — demonstrates UI kit components in context
Architecture¶
demo_app/
├── lib/
│ ├── main.dart
│ ├── features/
│ │ ├── home/ — Button showcase screen
│ │ └── api_demo/ — Live API integration demo
│ └── router.dart
Dependencies:
core_services— Dio-based API client, interceptorsui_kit— design tokens, PrimaryButton, SecondaryButton, AppTheme
Setup¶
Screens¶
| Screen | Description |
|---|---|
| Home | UI kit component showcase |
| API Demo | Live call to core_services; shows loading/error/data states |