1
- # Miscellaneous
2
- * .class
3
- * .log
4
- * .pyc
5
- * .swp
6
- .DS_Store
7
- .atom /
8
- .buildlog /
9
- .history
10
- .svn /
11
1
12
- # IntelliJ related
13
- * .iml
14
- * .ipr
15
- * .iws
16
- .idea /
17
-
18
- # The .vscode folder contains launch configuration and tasks you configure in
19
- # VS Code which you may wish to be included in version control, so this line
20
- # is commented out by default.
21
- # .vscode/
2
+ # Created by https://www.toptal.com/developers/gitignore/api/flutter
3
+ # Edit at https://www.toptal.com/developers/gitignore?templates=flutter
22
4
5
+ # ## Flutter ###
23
6
# Flutter/Dart/Pub related
24
7
** /doc /api /
25
8
.dart_tool /
26
9
.flutter-plugins
27
10
.flutter-plugins-dependencies
11
+ .fvm /
28
12
.packages
29
13
.pub-cache /
30
14
.pub /
31
- /build /
32
-
33
- # Web related
15
+ build /
16
+ coverage /
34
17
lib /generated_plugin_registrant.dart
18
+ # For library packages, don’t commit the pubspec.lock file.
19
+ # Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
20
+ # See https://dart.dev/guides/libraries/private-files#pubspeclock
21
+ pubspec.lock
35
22
36
- # Exceptions to above rules.
37
- ! /packages /flutter_tools /test /data /dart_dependencies_test /** /.packages
23
+ # Android related
24
+ ** /android /** /gradle-wrapper.jar
25
+ ** /android /.gradle
26
+ ** /android /captures /
27
+ ** /android /gradlew
28
+ ** /android /gradlew.bat
29
+ ** /android /key.properties
30
+ ** /android /local.properties
31
+ ** /android /** /GeneratedPluginRegistrant.java
38
32
39
- # Old files and folders
40
- ** .old
41
- ** .old /
33
+ # iOS/XCode related
34
+ ** /ios /** /* .mode1v3
35
+ ** /ios /** /* .mode2v3
36
+ ** /ios /** /* .moved-aside
37
+ ** /ios /** /* .pbxuser
38
+ ** /ios /** /* .perspectivev3
39
+ ** /ios /** /* sync /
40
+ ** /ios /** /.sconsign.dblite
41
+ ** /ios /** /.tags *
42
+ ** /ios /** /.vagrant /
43
+ ** /ios /** /DerivedData /
44
+ ** /ios /** /Icon ?
45
+ ** /ios /** /Pods /
46
+ ** /ios /** /.symlinks /
47
+ ** /ios /** /profile
48
+ ** /ios /** /xcuserdata
49
+ ** /ios /.generated /
50
+ ** /ios /Flutter /.last_build_id
51
+ ** /ios /Flutter /App.framework
52
+ ** /ios /Flutter /Flutter.framework
53
+ ** /ios /Flutter /Flutter.podspec
54
+ ** /ios /Flutter /Generated.xcconfig
55
+ ** /ios /Flutter /app.flx
56
+ ** /ios /Flutter /app.zip
57
+ ** /ios /Flutter /flutter_assets /
58
+ ** /ios /Flutter /flutter_export_environment.sh
59
+ ** /ios /ServiceDefinitions.json
60
+ ** /ios /Runner /GeneratedPluginRegistrant. *
42
61
43
- # Generated documentattion
44
- doc /
62
+ # Exceptions to above rules.
63
+ ! ** /ios /** /default.mode1v3
64
+ ! ** /ios /** /default.mode2v3
65
+ ! ** /ios /** /default.pbxuser
66
+ ! ** /ios /** /default.perspectivev3
67
+ ! /packages /flutter_tools /test /data /dart_dependencies_test /** /.packages
45
68
46
- # FVM files
47
- .fvm /
69
+ # End of https://www.toptal.com/developers/gitignore/api/flutter
0 commit comments