Skip to content

Commit d69d6e2

Browse files
committed
🔖 ## 2.0.0.
1 parent 092b1bb commit d69d6e2

File tree

4 files changed

+32
-21
lines changed

4 files changed

+32
-21
lines changed

CHANGELOG.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
## [1.7.0]
1+
# [2.0.0]
2+
3+
* Support audio assets.
4+
* Support single asset mode.
5+
* Enlarge preview button's detector area size.
6+
* Fix wrong properties usage causing infinite build when the page reaches the end.
7+
8+
## Breaking changes
9+
10+
* `videoIndicatorBuilder` -> `durationIndicatorBuilder`.
11+
12+
# [1.7.0]
213

314
* Hide detail display when video start to play.
415
* Switch to `ExtendedImageGesturePageView`. Fix #16 .
@@ -8,74 +19,74 @@
819
* Update widgets style on iOS. Fix #14 .
920
* Fix state of the example not updated after the result was returned without input method activated.
1021

11-
## [1.6.0]
22+
# [1.6.0]
1223

1324
* Support HEIC/HEIF image type.
1425

15-
## [1.5.0+1]
26+
# [1.5.0+1]
1627

1728
* Upgrade `photo_manager` to `0.5.1`.
1829
* Replace deprecate `TextTheme.title` API usage.
1930
* Document (dartdoc) update.
2031

21-
## [1.5.0]
32+
# [1.5.0]
2233

2334
* Bumping flutter sdk minimum version to `1.17.0`.
2435
* Declare API stability and compatibility with 1.0.0 ( more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0 ).
2536

26-
## [1.4.1]
37+
# [1.4.1]
2738

2839
* Remove loading indicator for image widget.
2940
* Refactor video page's initialization for ratio update.
3041
* Using constants to store text delegate.
3142
* Add error catching for main methods.
3243
* Update text delegate management.
3344

34-
## [1.4.0+1]
45+
# [1.4.0+1]
3546

3647
* Fix call on null with `currentlySelectedAssets`.
3748

38-
## [1.4.0]
49+
# [1.4.0]
3950

4051
* Support paging assets load.
4152
* Fix selected assets not synced with picker provider.
4253
* Bump `photo_manager` to `0.5.1-dev.5`
4354

44-
## [1.3.2]
55+
# [1.3.2]
4556

4657
* Expose page transition curve and duration to static method.
4758
* Fix theme color not passed to static method.
4859

49-
## [1.3.1+1]
60+
# [1.3.1+1]
5061

5162
* Fix `pageBuilder` null issue.
5263

53-
## [1.3.1]
64+
# [1.3.1]
5465

5566
* Add upwards slide page transition.
5667
* Add padding to bottom action bar in picker.
5768

58-
## [1.3.0]
69+
# [1.3.0]
5970

6071
* Add iOS style.
6172
* Add cancel field to text delegate.
6273
* `Set` -> `List`.
6374

64-
## [1.2.1]
75+
# [1.2.1]
6576

6677
* Fix missing aspect ratio for video player.
6778
* Using common request type in example.
6879

69-
## [1.2.0]
80+
# [1.2.0]
7081

7182
* Add text delegate support. (Also with i18n support using delegate).
7283

73-
## [1.1.0]
84+
# [1.1.0]
7485

7586
* Support video assets. You can use `requestType` to select video or video+image.
7687
* Hide system ui overlays according to flag and system.
7788
* Update GIF indicator and add video indicator.
7889

79-
## [1.0.0]
90+
# [1.0.0]
8091

8192
* Initial release.

README-ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Language: [English](README.md) | 中文简体
3838
- [x] 图片资源支持
3939
- [x] HEIC/HEIF格式图片支持
4040
- [x] 视频资源支持
41-
- [ ] 音频资源支持
42-
- [ ] 单资源模式
41+
- [x] 音频资源支持
42+
- [x] 单资源模式
4343
- [x] 国际化支持
4444
- [x] 自定义文本支持
4545
- [x] 完整的自定义主题

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ An **assets picker** which looks like the one in WeChat, based on `photo_manager
3838
- [x] Image asset support
3939
- [x] HEIC/HEIF Image type support
4040
- [x] Video asset support
41-
- [ ] Audio asset support
42-
- [ ] Single asset mode
41+
- [x] Audio asset support
42+
- [x] Single asset mode
4343
- [x] i18n support
4444
- [x] Custom text delegate support
4545
- [x] Custom theme entirely
@@ -164,7 +164,7 @@ AssetPicker.pickAsset(context).then((List<AssetEntity> assets) {
164164

165165
### Complete param usage
166166

167-
```dart
167+
```dart
168168
List<AssetEntity> assets = <AssetEntity>{};
169169
170170
final List<AssetEntity> result = await AssetPicker.pickAssets(

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wechat_assets_picker
22
description: An assets picker in pure dart which looks like the one in WeChat, support multi asset pick from device.
3-
version: 1.7.0
3+
version: 2.0.0
44
homepage: https://github.com/fluttercandies/flutter_wechat_assets_picker
55

66
environment:

0 commit comments

Comments
 (0)