Browse Source

update version

cjl_macbook 5 years ago
parent
commit
8249e2cf84
3 changed files with 31 additions and 27 deletions
  1. 5
    1
      README.md
  2. 22
    22
      pubspec.lock
  3. 4
    4
      pubspec.yaml

+ 5
- 1
README.md View File

28
 
28
 
29
 ## install
29
 ## install
30
 
30
 
31
+latest version : [![pub package](https://img.shields.io/pub/v/photo.svg)](https://pub.dartlang.org/packages/photo)
32
+
31
 ```yaml
33
 ```yaml
32
 dependencies:
34
 dependencies:
33
-  photo: ^0.1.11
35
+  photo: $latest_version
34
 ```
36
 ```
35
 
37
 
36
 ## import
38
 ## import
78
 
80
 
79
       loadingDelegate:
81
       loadingDelegate:
80
           this, // if you want to build custom loading widget,extends LoadingDelegate [see example/lib/main.dart]
82
           this, // if you want to build custom loading widget,extends LoadingDelegate [see example/lib/main.dart]
83
+
84
+      pickType: type, // all/image/video
81
     );
85
     );
82
 ```
86
 ```
83
 
87
 

+ 22
- 22
pubspec.lock View File

5
     dependency: transitive
5
     dependency: transitive
6
     description:
6
     description:
7
       name: async
7
       name: async
8
-      url: "https://pub.flutter-io.cn"
8
+      url: "https://pub.dartlang.org"
9
     source: hosted
9
     source: hosted
10
     version: "2.0.8"
10
     version: "2.0.8"
11
   boolean_selector:
11
   boolean_selector:
12
     dependency: transitive
12
     dependency: transitive
13
     description:
13
     description:
14
       name: boolean_selector
14
       name: boolean_selector
15
-      url: "https://pub.flutter-io.cn"
15
+      url: "https://pub.dartlang.org"
16
     source: hosted
16
     source: hosted
17
     version: "1.0.4"
17
     version: "1.0.4"
18
   charcode:
18
   charcode:
19
     dependency: transitive
19
     dependency: transitive
20
     description:
20
     description:
21
       name: charcode
21
       name: charcode
22
-      url: "https://pub.flutter-io.cn"
22
+      url: "https://pub.dartlang.org"
23
     source: hosted
23
     source: hosted
24
     version: "1.1.2"
24
     version: "1.1.2"
25
   collection:
25
   collection:
26
     dependency: transitive
26
     dependency: transitive
27
     description:
27
     description:
28
       name: collection
28
       name: collection
29
-      url: "https://pub.flutter-io.cn"
29
+      url: "https://pub.dartlang.org"
30
     source: hosted
30
     source: hosted
31
     version: "1.14.11"
31
     version: "1.14.11"
32
   flutter:
32
   flutter:
43
     dependency: transitive
43
     dependency: transitive
44
     description:
44
     description:
45
       name: matcher
45
       name: matcher
46
-      url: "https://pub.flutter-io.cn"
46
+      url: "https://pub.dartlang.org"
47
     source: hosted
47
     source: hosted
48
     version: "0.12.3+1"
48
     version: "0.12.3+1"
49
   meta:
49
   meta:
50
     dependency: transitive
50
     dependency: transitive
51
     description:
51
     description:
52
       name: meta
52
       name: meta
53
-      url: "https://pub.flutter-io.cn"
53
+      url: "https://pub.dartlang.org"
54
     source: hosted
54
     source: hosted
55
     version: "1.1.6"
55
     version: "1.1.6"
56
   path:
56
   path:
57
     dependency: transitive
57
     dependency: transitive
58
     description:
58
     description:
59
       name: path
59
       name: path
60
-      url: "https://pub.flutter-io.cn"
60
+      url: "https://pub.dartlang.org"
61
     source: hosted
61
     source: hosted
62
     version: "1.6.2"
62
     version: "1.6.2"
63
   pedantic:
63
   pedantic:
64
     dependency: transitive
64
     dependency: transitive
65
     description:
65
     description:
66
       name: pedantic
66
       name: pedantic
67
-      url: "https://pub.flutter-io.cn"
67
+      url: "https://pub.dartlang.org"
68
     source: hosted
68
     source: hosted
69
     version: "1.4.0"
69
     version: "1.4.0"
70
   photo_manager:
70
   photo_manager:
71
     dependency: "direct main"
71
     dependency: "direct main"
72
     description:
72
     description:
73
-      path: "../flutter_photo_manager"
74
-      relative: true
75
-    source: path
76
-    version: "0.2.0"
73
+      name: photo_manager
74
+      url: "https://pub.dartlang.org"
75
+    source: hosted
76
+    version: "0.2.1"
77
   quiver:
77
   quiver:
78
     dependency: transitive
78
     dependency: transitive
79
     description:
79
     description:
80
       name: quiver
80
       name: quiver
81
-      url: "https://pub.flutter-io.cn"
81
+      url: "https://pub.dartlang.org"
82
     source: hosted
82
     source: hosted
83
     version: "2.0.1"
83
     version: "2.0.1"
84
   sky_engine:
84
   sky_engine:
90
     dependency: transitive
90
     dependency: transitive
91
     description:
91
     description:
92
       name: source_span
92
       name: source_span
93
-      url: "https://pub.flutter-io.cn"
93
+      url: "https://pub.dartlang.org"
94
     source: hosted
94
     source: hosted
95
-    version: "1.5.4"
95
+    version: "1.5.3"
96
   stack_trace:
96
   stack_trace:
97
     dependency: transitive
97
     dependency: transitive
98
     description:
98
     description:
99
       name: stack_trace
99
       name: stack_trace
100
-      url: "https://pub.flutter-io.cn"
100
+      url: "https://pub.dartlang.org"
101
     source: hosted
101
     source: hosted
102
     version: "1.9.3"
102
     version: "1.9.3"
103
   stream_channel:
103
   stream_channel:
104
     dependency: transitive
104
     dependency: transitive
105
     description:
105
     description:
106
       name: stream_channel
106
       name: stream_channel
107
-      url: "https://pub.flutter-io.cn"
107
+      url: "https://pub.dartlang.org"
108
     source: hosted
108
     source: hosted
109
     version: "1.6.8"
109
     version: "1.6.8"
110
   string_scanner:
110
   string_scanner:
111
     dependency: transitive
111
     dependency: transitive
112
     description:
112
     description:
113
       name: string_scanner
113
       name: string_scanner
114
-      url: "https://pub.flutter-io.cn"
114
+      url: "https://pub.dartlang.org"
115
     source: hosted
115
     source: hosted
116
     version: "1.0.4"
116
     version: "1.0.4"
117
   term_glyph:
117
   term_glyph:
118
     dependency: transitive
118
     dependency: transitive
119
     description:
119
     description:
120
       name: term_glyph
120
       name: term_glyph
121
-      url: "https://pub.flutter-io.cn"
121
+      url: "https://pub.dartlang.org"
122
     source: hosted
122
     source: hosted
123
     version: "1.1.0"
123
     version: "1.1.0"
124
   test_api:
124
   test_api:
125
     dependency: transitive
125
     dependency: transitive
126
     description:
126
     description:
127
       name: test_api
127
       name: test_api
128
-      url: "https://pub.flutter-io.cn"
128
+      url: "https://pub.dartlang.org"
129
     source: hosted
129
     source: hosted
130
     version: "0.2.2"
130
     version: "0.2.2"
131
   typed_data:
131
   typed_data:
132
     dependency: transitive
132
     dependency: transitive
133
     description:
133
     description:
134
       name: typed_data
134
       name: typed_data
135
-      url: "https://pub.flutter-io.cn"
135
+      url: "https://pub.dartlang.org"
136
     source: hosted
136
     source: hosted
137
     version: "1.1.6"
137
     version: "1.1.6"
138
   vector_math:
138
   vector_math:
139
     dependency: transitive
139
     dependency: transitive
140
     description:
140
     description:
141
       name: vector_math
141
       name: vector_math
142
-      url: "https://pub.flutter-io.cn"
142
+      url: "https://pub.dartlang.org"
143
     source: hosted
143
     source: hosted
144
     version: "2.0.8"
144
     version: "2.0.8"
145
 sdks:
145
 sdks:

+ 4
- 4
pubspec.yaml View File

1
 name: photo
1
 name: photo
2
 description: image picker, multi picker support video / icloud asset ,use flutter as ui, if you want to build custom ui,you just use photo_manager.
2
 description: image picker, multi picker support video / icloud asset ,use flutter as ui, if you want to build custom ui,you just use photo_manager.
3
-version: 0.1.11
3
+version: 0.2.0
4
 author: caijinglong<cjl_spy@163.com>
4
 author: caijinglong<cjl_spy@163.com>
5
 homepage: https://github.com/CaiJingLong/flutter_photo
5
 homepage: https://github.com/CaiJingLong/flutter_photo
6
 
6
 
11
   flutter:
11
   flutter:
12
     sdk: flutter
12
     sdk: flutter
13
 
13
 
14
-  # photo_manager: ^0.1.10
14
+  photo_manager: ^0.2.1
15
   # photo_manager:
15
   # photo_manager:
16
   #   git:
16
   #   git:
17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
18
   #     ref: 29d844b2c4594d7e524d0169658bc4f3b9ef2ddc
18
   #     ref: 29d844b2c4594d7e524d0169658bc4f3b9ef2ddc
19
-  photo_manager:
20
-    path: ../flutter_photo_manager
19
+  # photo_manager:
20
+  #   path: ../flutter_photo_manager
21
 
21
 
22
 dev_dependencies:
22
 dev_dependencies:
23
   flutter_test:
23
   flutter_test: