The number trivia module showcases Flutter App Architecture using the flutter_clean_architecture package.
Directory: fluwix/number_trivia/lib
path | files | code | comment | blank | total |
---|---|---|---|---|---|
. | 20 | 641 | 22 | 120 | 783 |
common | 2 | 20 | 0 | 6 | 26 |
common/network | 1 | 13 | 0 | 5 | 18 |
common/presentation | 1 | 7 | 0 | 1 | 8 |
data | 3 | 104 | 7 | 26 | 137 |
data/datasources | 2 | 62 | 7 | 19 | 88 |
data/repositories | 1 | 42 | 0 | 7 | 49 |
domain | 4 | 72 | 4 | 21 | 97 |
domain/entities | 1 | 12 | 0 | 4 | 16 |
domain/repositories | 1 | 5 | 0 | 2 | 7 |
domain/usecases | 2 | 55 | 4 | 15 | 74 |
presentation | 8 | 310 | 4 | 48 | 362 |
presentation/pages | 3 | 164 | 4 | 28 | 196 |
presentation/widgets | 5 | 146 | 0 | 20 | 166 |
Directory: fluwix/number_trivia/test
language | files | code | comment | blank | total |
---|---|---|---|---|---|
Dart | 8 | 444 | 87 | 74 | 605 |
JSON | 3 | 16 | 0 | 0 | 16 |
path | files | code | comment | blank | total |
---|---|---|---|---|---|
. | 11 | 460 | 87 | 74 | 621 |
common | 2 | 58 | 10 | 12 | 80 |
common/network | 1 | 27 | 3 | 6 | 36 |
common/presentation | 1 | 31 | 7 | 6 | 44 |
data | 3 | 323 | 66 | 47 | 436 |
data/datasources | 2 | 147 | 30 | 24 | 201 |
data/repositories | 1 | 176 | 36 | 23 | 235 |
domain | 2 | 61 | 11 | 12 | 84 |
domain/usecases | 2 | 61 | 11 | 12 | 84 |
fixtures | 4 | 18 | 0 | 3 | 21 |
For help getting started with Flutter, view our online documentation.
For instructions integrating Flutter modules to your existing applications, see the add-to-app documentation.