You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-68Lines changed: 24 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Language: English | [中文简体](README-ZH.md)
13
13
14
14
An **assets picker** which looks like the one in WeChat, based on `photo_manager` for asset implementation, `extended_image` for image preview, `provider` to help controlling the state of the picker.
15
15
16
-
To take a photo or a video for assets, please check the detailed usage in the example, and head over to [wechat_camera_picker](https://pub.dev/packages/wechat_camera_picker) .
16
+
To take a photo or a video for assets, please check the detailed usage in the example, and head over to [wechat_camera_picker](https://fluttercandies.github.io/flutter_wechat_camera_picker/) .
Package required you upgrade your flutter project's Android part to v2 embedding, for further information, check [Upgrading pre 1.12 Android projects](https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects)
|context|`BuildContext`| Context for navigator push. |`null`|
187
-
|maxAssets|`int`| Maximum asset that the picker can pick. | 9 |
188
-
|pageSize|`int`| Assets amount when assets loaded with paging. **Must be a multiple of `gridCount`.** Nullable for non paging. | 320 (80 * 4)|
189
-
|pathThumbSize |`int`| The size of thumb data in picker. | 80|
190
-
|gridCount|`int`| Grid count in picker. | 4|
191
-
| requestType |`RequestType`| Request type for picker. |`RequestType.image`|
192
-
| specialPickerType |`SpacialPickerType`| Provide some special picker types to integrate un-common pick pattern. |`null`|
193
-
| selectedAssets |`List<AssetEntity>`| Selected assets. Prevent duplicate selection. If you don't need to prevent duplicate selection, just don't pass it. |`null`|
194
-
| themeColor |`Color`| Main theme color for the picker |`Color(0xff00bc56)`|
195
-
| pickerTheme |`ThemeData`| Theme data provider for the picker and the viewer. |`null`|
196
-
| sortPathDelegate |`SortPathDeleage`| Path entities sort delegate for the picker, sort paths as you want. |`CommonSortPathDelegate`|
197
-
| textDelegate |`TextDelegate`| Text delegate for the picker, for customize the texts. |`DefaultTextDelegate()`|
|maxAssets|`int`| Maximum asset that the picker can pick. | 9 |
143
+
|pageSize|`int`| Assets amount when assets loaded with paging. **Must be a multiple of `gridCount`.** Nullable for non paging.| 320 (80 * 4)|
144
+
|pathThumbSize|`int`| The size of thumb data in picker. |80 |
145
+
|gridCount |`int`| Grid count in picker. | 4 |
146
+
|previewThumbSize|`List<int>`| Thumb size for the preview of images in the viewer. |`null`|
147
+
| requestType |`RequestType`| Request type for picker.|`RequestType.image`|
148
+
| specialPickerType |`SpacialPickerType`| Provide some special picker types to integrate un-common pick pattern. |`null`|
149
+
| selectedAssets |`List<AssetEntity>`| Selected assets. Prevent duplicate selection. If you don't need to prevent duplicate selection, just don't pass it. |`null`|
150
+
| themeColor |`Color`| Main theme color for the picker|`Color(0xff00bc56)`|
151
+
| pickerTheme |`ThemeData`| Theme data provider for the picker and the viewer.|`null`|
152
+
| sortPathDelegate |`SortPathDeleage`| Path entities sort delegate for the picker, sort paths as you want. |`CommonSortPathDelegate`|
153
+
| textDelegate |`TextDelegate`| Text delegate for the picker, for customize the texts.|`DefaultTextDelegate()`|
0 commit comments