Caijinglong vor 6 Jahren
Ursprung
Commit
f7f7b628b8
4 geänderte Dateien mit 16 neuen und 11 gelöschten Zeilen
  1. 7
    0
      CHANGELOG.md
  2. 6
    6
      README.md
  3. 1
    1
      pubspec.lock
  4. 2
    4
      pubspec.yaml

+ 7
- 0
CHANGELOG.md Datei anzeigen

@@ -1,8 +1,15 @@
1
+# CHANGELOG
2
+
3
+## [0.0.4] fix #1
4
+
5
+fix request other permission will crash bug
6
+
1 7
 ## [0.0.3] add the thumb size to option
2 8
 
3 9
 add a params for pick image , thumb size
4 10
 
5 11
 ## [0.0.2] fix bug
12
+
6 13
 preview sure button bug
7 14
 preview bottom safeArea
8 15
 

+ 6
- 6
README.md Datei anzeigen

@@ -6,24 +6,26 @@ use flutter as ui
6 6
 if you want to build custom ui, you just need api to make custom ui. to use [photo_manager](https://github.com/CaiJingLong/flutter_photo_manager)
7 7
 
8 8
 ## screenshot
9
+
9 10
 ![image](https://github.com/CaiJingLong/some_asset/blob/master/image_picker1.gif)
10 11
 
11 12
 ## install
12 13
 
13 14
 ```yaml
14 15
 dependencies:
15
-  photo: ^0.0.3
16
+  photo: ^0.0.4
16 17
 ```
17 18
 
18 19
 ## import
20
+
19 21
 ```dart
20 22
 import 'package:photo/photo.dart';
21 23
 import 'package:photo_manager/photo_manager.dart';
22 24
 ```
23 25
 
24 26
 ## use
25
-```dart
26 27
 
28
+```dart
27 29
   void _pickImage(BuildContext context) async {
28 30
     List<ImageEntity> imgList = await PhotoPicker.pickImage(
29 31
       context: context, // BuildContext requied
@@ -31,7 +33,7 @@ import 'package:photo_manager/photo_manager.dart';
31 33
       /// The following are optional parameters.
32 34
       themeColor: Colors.green, // the title color and bottom color
33 35
       padding: 5.0, // item padding
34
-      dividerColor: Colors.deepOrange, // divider color 
36
+      dividerColor: Colors.deepOrange, // divider color
35 37
       disableColor: Colors.grey.shade300, // the check box disable color
36 38
       itemRadio: 0.88, // the content item radio
37 39
       maxSelected: 8, // max picker image count
@@ -45,10 +47,8 @@ import 'package:photo_manager/photo_manager.dart';
45 47
       print(e.id);
46 48
     });
47 49
   }
48
-
49 50
 ```
50 51
 
51
-
52 52
 ## about android
53 53
 
54 54
 ### glide
@@ -76,4 +76,4 @@ rootProject.allprojects {
76 76
 
77 77
 if you use the proguard
78 78
 
79
-see the [github](https://github.com/bumptech/glide#proguard)
79
+see the [github](https://github.com/bumptech/glide#proguard)

+ 1
- 1
pubspec.lock Datei anzeigen

@@ -213,7 +213,7 @@ packages:
213 213
       name: photo_manager
214 214
       url: "https://pub.flutter-io.cn"
215 215
     source: hosted
216
-    version: "0.0.2"
216
+    version: "0.0.3"
217 217
   plugin:
218 218
     dependency: transitive
219 219
     description:

+ 2
- 4
pubspec.yaml Datei anzeigen

@@ -1,6 +1,6 @@
1 1
 name: photo
2 2
 description: image picker, multi picker,use flutter as ui, if you want to build custom ui,you just use photo_manager.
3
-version: 0.0.3
3
+version: 0.0.4
4 4
 author: caijinglong<cjl_spy@163.com>
5 5
 homepage: https://github.com/CaiJingLong/flutter_photo
6 6
 
@@ -11,7 +11,7 @@ dependencies:
11 11
   flutter:
12 12
     sdk: flutter
13 13
 
14
-  photo_manager: ^0.0.2
14
+  photo_manager: ^0.0.3
15 15
 #  photo_manager:
16 16
 #    git:
17 17
 #      url: https://github.com/CaiJingLong/flutter_photo_manager.git
@@ -28,7 +28,6 @@ dev_dependencies:
28 28
 
29 29
 # The following section is specific to Flutter.
30 30
 flutter:
31
-
32 31
   # To add assets to your package, add an assets section, like this:
33 32
   # assets:
34 33
   #  - images/a_dot_burr.jpeg
@@ -39,7 +38,6 @@ flutter:
39 38
   #
40 39
   # An image asset can refer to one or more resolution-specific "variants", see
41 40
   # https://flutter.io/assets-and-images/#resolution-aware.
42
-
43 41
   # To add custom fonts to your package, add a fonts section here,
44 42
   # in this "flutter" section. Each entry in this list should have a
45 43
   # "family" key with the font family name, and a "fonts" key with a