Skip to content

Commit f03d886

Browse files
committed
Add doc about flutter config files
1 parent fd87e7b commit f03d886

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/Architecture.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@
33
This file document the different directory of this project.
44
Each section will contain explanation and a directory tree.
55

6+
## Flutter :
7+
8+
### Dependencies and generated files :
9+
10+
The `.fvmrc` is used by [fvm](https://fvm.app/) to specify the flutter version.
11+
`lib/` contain the flutter code.
12+
`pubspec.lock` is a lock file to handle dependencies.
13+
`pubspec.yaml` is configuration file specifying :
14+
15+
- the app version
16+
- the flutter sdk requirement
17+
- the dependencies
18+
- the asset directory
19+
20+
```
21+
├── .fvmrc
22+
├── lib
23+
├── pubspec.lock
24+
└── pubspec.yaml
25+
```
26+
27+
628
## Android :
729

830
The android directory contain all elements necessary to target Android, most of it is gradle configuration.
@@ -33,6 +55,7 @@ Flutter take the `app_%%.arb` files and generate dart code inside the `lib/l10n`
3355
│ ├── app_%%.arb
3456
│ └── untranslated.json
3557
└── l10n.yaml
58+
├── lib
3659
└── l10n
3760
├── app_localizations.dart
3861
├── app_localizations_en.dart

0 commit comments

Comments
 (0)