How ndgiang02/sonix-music-app works
Sonix appears to be a Flutter music app: users enter through the app shell, browse or search music, and use a player; the tree also shows authentication, profiles, and upload. The README only says “A project,” and no Dart source was excerpted, so these product capabilities are inferred from filenames. Dashed, uncited edges indicate likely navigation or coordination, not verified calls; external services and persistence are omitted because their use is not evidenced.
Main entry points: main.dart App Entry · main_screen.dart Main Screen · home_screen.dart Home · play_screen.dart Player Screen
Components 18
App Shell
- App Entry
lib/main.dart - Main Screen
lib/features/presentation/main/main_screen.dart - Routes
lib/core/routing/routes.dart
Music Discovery
- Home
lib/features/presentation/home/home_screen.dart - Search
lib/features/presentation/search/search_page.dart - Song View
lib/features/presentation/home/widget/song_widget.dart - Playlist View
lib/features/presentation/home/widget/playlist_widget.dart
Music Playback
- Player Screen
lib/features/presentation/player/play_screen.dart - Player Controls
lib/features/presentation/player/widget/control_button.dart - Mini Player
lib/features/presentation/miniplayer/miniplayer_page.dart
Account Features
Shared State
- App State
lib/core/state/cubit/app_cubit.dart - Session Storage
lib/core/storage/session_controller.dart - User Model
lib/features/data/models/user/user_model.dart
Other components
- User
Connections 17
- User → App Entry: opens
- App Entry → Main Screen: starts
- Main Screen → Routes: routes
- Main Screen → Home: shows
- User → Search: searches
- Home → Song View: presents
- Home → Playlist View: presents
- Song View → Player Screen: opens
- Player Screen → Player Controls: renders
- Player Screen → Mini Player: minimizes to
- User → Login: signs in
- User → Sign Up: registers
- User → Profile: views
- User → Upload: uploads
- Login → Session Storage: uses
- Profile → User Model: shows
- App Entry → App State: initializes