Bläddra i källkod

update version

cjl_macbook 5 år sedan
förälder
incheckning
8249e2cf84
3 ändrade filer med 31 tillägg och 27 borttagningar
  1. 5
    1
      README.md
  2. 22
    22
      pubspec.lock
  3. 4
    4
      pubspec.yaml

+ 5
- 1
README.md Visa fil

@@ -28,9 +28,11 @@ so PhotoPicker.pickImage return type will change to `List<AssetEntity>`
28 28
 
29 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 33
 ```yaml
32 34
 dependencies:
33
-  photo: ^0.1.11
35
+  photo: $latest_version
34 36
 ```
35 37
 
36 38
 ## import
@@ -78,6 +80,8 @@ void _pickImage() async {
78 80
 
79 81
       loadingDelegate:
80 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 Visa fil

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

+ 4
- 4
pubspec.yaml Visa fil

@@ -1,6 +1,6 @@
1 1
 name: photo
2 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 4
 author: caijinglong<cjl_spy@163.com>
5 5
 homepage: https://github.com/CaiJingLong/flutter_photo
6 6
 
@@ -11,13 +11,13 @@ dependencies:
11 11
   flutter:
12 12
     sdk: flutter
13 13
 
14
-  # photo_manager: ^0.1.10
14
+  photo_manager: ^0.2.1
15 15
   # photo_manager:
16 16
   #   git:
17 17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
18 18
   #     ref: 29d844b2c4594d7e524d0169658bc4f3b9ef2ddc
19
-  photo_manager:
20
-    path: ../flutter_photo_manager
19
+  # photo_manager:
20
+  #   path: ../flutter_photo_manager
21 21
 
22 22
 dev_dependencies:
23 23
   flutter_test: