-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.conventions.txt
22 lines (20 loc) · 962 Bytes
/
.conventions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Source:
https://dart.dev/tools/pub/package-layout
Following is a summary of dart package convention -
my_dart_package/ - root package directory
.packages - dependencies mapping with system cache
pubspec.yaml - meta-info and dependencies
pubspec.lock - final used dependencies info
bin/ - executal main file
main.dart
doc/ - documentations
example/ - application samples
lib/ - this app's library package
string_merger.dart - file to be imported by others
src/ - internal files used by this lib
util.dart - this file should not be exposed
test/ - unit test cases
string_merger_test.dart
web/ - web specifc files
index.html -
style.css - this can be in nested folders