Skip to content

Commit a10bbf3

Browse files
committed
Upgrade .gitignore, .metadata and analysis_options.yaml in example/
1 parent 18ec6f4 commit a10bbf3

File tree

3 files changed

+36
-55
lines changed

3 files changed

+36
-55
lines changed

example/.gitignore

Lines changed: 15 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# Miscellaneous
2+
.flutter-plugins
23
*.class
34
*.log
45
*.pyc
56
*.swp
67
.DS_Store
78
.atom/
9+
.build/
810
.buildlog/
911
.history
1012
.svn/
11-
12-
pubspec.lock
13+
.swiftpm/
14+
migrate_working_dir/
1315

1416
# IntelliJ related
1517
*.iml
@@ -24,53 +26,21 @@ pubspec.lock
2426

2527
# Flutter/Dart/Pub related
2628
**/doc/api/
29+
**/ios/Flutter/.last_build_id
2730
.dart_tool/
28-
.flutter-plugins
29-
.packages
31+
.flutter-plugins-dependencies
3032
.pub-cache/
3133
.pub/
3234
/build/
33-
.flutter-plugins-dependencies
35+
/coverage/
3436

35-
# Android related
36-
**/android/**/gradle-wrapper.jar
37-
**/android/.gradle
38-
**/android/captures/
39-
**/android/gradlew
40-
**/android/gradlew.bat
41-
**/android/local.properties
42-
**/android/**/GeneratedPluginRegistrant.java
37+
# Symbolication related
38+
app.*.symbols
4339

44-
# iOS/XCode related
45-
**/ios/**/*.mode1v3
46-
**/ios/**/*.mode2v3
47-
**/ios/**/*.moved-aside
48-
**/ios/**/*.pbxuser
49-
**/ios/**/*.perspectivev3
50-
**/ios/**/*sync/
51-
**/ios/**/.sconsign.dblite
52-
**/ios/**/.tags*
53-
**/ios/**/.vagrant/
54-
**/ios/**/DerivedData/
55-
**/ios/**/Icon?
56-
**/ios/**/Pods/
57-
**/ios/**/.symlinks/
58-
**/ios/**/profile
59-
**/ios/**/xcuserdata
60-
**/ios/.generated/
61-
**/ios/Flutter/App.framework
62-
**/ios/Flutter/Flutter.framework
63-
**/ios/Flutter/Generated.xcconfig
64-
**/ios/Flutter/app.flx
65-
**/ios/Flutter/app.zip
66-
**/ios/Flutter/flutter_assets/
67-
**/ios/ServiceDefinitions.json
68-
**/ios/Runner/GeneratedPluginRegistrant.*
69-
**/ios/Flutter/Flutter.podspec
40+
# Obfuscation related
41+
app.*.map.json
7042

71-
# Exceptions to above rules.
72-
!**/ios/**/default.mode1v3
73-
!**/ios/**/default.mode2v3
74-
!**/ios/**/default.pbxuser
75-
!**/ios/**/default.perspectivev3
76-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
43+
# Android Studio will place build artifacts here
44+
/android/app/debug
45+
/android/app/profile
46+
/android/app/release

example/.metadata

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,35 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
8-
channel: stable
7+
revision: "20f82749394e68bcfbbeee96bad384abaae09c13"
8+
channel: "stable"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
17-
base_revision: 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
18-
- platform: windows
19-
create_revision: 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
20-
base_revision: 90c64ed42ba53a52d18f0cb3b17666c8662ed2a0
16+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
17+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
18+
- platform: android
19+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
20+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
21+
- platform: ios
22+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
23+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
24+
- platform: linux
25+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
26+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
27+
- platform: macos
28+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
29+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
30+
- platform: web
31+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
32+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
2133

2234
# User provided section
2335

example/analysis_options.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ linter:
1313
# The lint rules applied to this project can be customized in the
1414
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
1515
# included above or to enable additional rules. A list of all available lints
16-
# and their documentation is published at
17-
# https://dart-lang.github.io/linter/lints/index.html.
16+
# and their documentation is published at https://dart.dev/lints.
1817
#
1918
# Instead of disabling a lint rule for the entire project in the
2019
# section below, it can also be suppressed for a single line of code

0 commit comments

Comments
 (0)