Skip to content

Commit fa7c219

Browse files
committed
Fix some issues reported by flutter pub publish
1 parent 8de678e commit fa7c219

File tree

7 files changed

+37
-45
lines changed

7 files changed

+37
-45
lines changed

.gitignore

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
1-
# pub
2-
.dart_tool/
3-
.packages
4-
build/
5-
pubspec.lock
6-
7-
# api doc
8-
doc/api/
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
912

10-
# IntelliJ
13+
# IntelliJ related
1114
*.iml
1215
*.ipr
1316
*.iws
1417
.idea/
1518

16-
# mac
17-
.DS_Store
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
1823

19-
# FVM Version Cache
20-
.fvm/
24+
# Flutter/Dart/Pub related
25+
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
26+
pubspec.lock
27+
**/doc/api/
28+
.dart_tool/
29+
build/

analysis_options.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include: package:flutter_lints/flutter.yaml
2+
3+
# Additional information about this file can be found at
4+
# https://dart.dev/guides/language/analysis-options

example/.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.buildlog/
99
.history
1010
.svn/
11+
migrate_working_dir/
1112

1213
# IntelliJ related
1314
*.iml
@@ -26,19 +27,17 @@
2627
.dart_tool/
2728
.flutter-plugins
2829
.flutter-plugins-dependencies
29-
.packages
3030
.pub-cache/
3131
.pub/
3232
/build/
3333

34-
# Web related
35-
lib/generated_plugin_registrant.dart
36-
3734
# Symbolication related
3835
app.*.symbols
3936

4037
# Obfuscation related
4138
app.*.map.json
4239

43-
# Exceptions to above rules.
44-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
40+
# Android Studio will place build artifacts here
41+
/android/app/debug
42+
/android/app/profile
43+
/android/app/release

example/ios/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
**/dgph
12
*.mode1v3
23
*.mode2v3
34
*.moved-aside
@@ -18,6 +19,7 @@ Flutter/App.framework
1819
Flutter/Flutter.framework
1920
Flutter/Flutter.podspec
2021
Flutter/Generated.xcconfig
22+
Flutter/ephemeral/
2123
Flutter/app.flx
2224
Flutter/app.zip
2325
Flutter/flutter_assets/

ios/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Icon?
3434
.tags*
3535

3636
/Flutter/Generated.xcconfig
37-
/Flutter/flutter_export_environment.sh
37+
/Flutter/ephemeral/
38+
/Flutter/flutter_export_environment.sh

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 1.1.1
44
homepage: https://github.com/patrick-fu/flutter_shared_preference_app_group
55

66
environment:
7-
sdk: '>=2.12.0 <3.0.0'
8-
flutter: ">=1.20.0"
7+
sdk: '>=2.12.0 <4.0.0'
8+
flutter: '>=1.20.0'
99

1010
dependencies:
1111
flutter:

shared_preference_app_group.iml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)