-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
structure.text
28 lines (28 loc) · 1.48 KB
/
structure.text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
lib/
|-- modules/ # Feature-based modules
| |-- home/ # Home module
| | |-- bloc/ # Home BLoC/Cubits
| | |-- view/ # Home Screens
| | '-- home_module.dart # Module root
| |-- search/ # Search module
| | '-- ... # Similar to home/
| |-- settings/ # Settings module
| | '-- ... # Similar to home/
|-- shared/ # Shared resources
| |-- blocs/ # Global BLoCs/Cubits
| |-- widgets/ # Shared Widgets
| |-- translations/ # Translations
| '-- theme/ # Global theme data
|-- core/ # Core utilities, models, and services
| |-- models/ # Data models
| | '-- route.dart
| |-- services/ # API services, Database services, etc.
| | '-- gps_location_service.dart
| |-- material_widgets/ #
| '-- utils/ # Helper functions, constants
| |-- providers/ # Application-wide providers
| | |-- books/
| | | |-- repository/ # Save data locally with Hive or SQL
| | | |-- services/ # Connect to API and contain DTOs
| | | '-- book_cubit/ # Global state management for updating books data
|-- main.dart # Entry point