Skip to content

Commit 9f6ca34

Browse files
committed
🔧 Toggle SDK constraints
1 parent 9224ad0 commit 9f6ca34

File tree

4 files changed

+28
-26
lines changed

4 files changed

+28
-26
lines changed

README-ZH.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Language: [English](README.md) | 中文
2525

2626
查看 [迁移指南][] 了解如何从破坏性改动中迁移为可用代码。
2727

28+
## 版本兼容
29+
30+
该插件仅保证能与 **stable 渠道的 Flutter SDK** 配合使用。
31+
我们不会为其他渠道的 Flutter SDK 做实时支持。
32+
33+
| | 2.8.0 | 3.3.0 | 3.16.0 |
34+
|--------|:-----:|:-----:|:------:|
35+
| 4.2.0+ ||||
36+
| 4.0.0+ ||||
37+
| 3.0.0+ ||||
38+
2839
## 主要使用的 package
2940

3041
该插件基于这些优秀的 package 构建:
@@ -44,12 +55,12 @@ Language: [English](README.md) | 中文
4455

4556
<!-- TOC -->
4657
* [Flutter WeChat Camera Picker](#flutter-wechat-camera-picker)
58+
* [版本兼容](#版本兼容)
4759
* [主要使用的 package](#主要使用的-package)
4860
* [特性 ✨](#特性-)
4961
* [截图 📸](#截图-)
5062
* [开始前的注意事项 ‼️](#开始前的注意事项-)
5163
* [准备工作 🍭](#准备工作-)
52-
* [版本兼容](#版本兼容)
5364
* [配置](#配置)
5465
* [使用方法 📖](#使用方法-)
5566
* [国际化](#国际化)
@@ -104,16 +115,6 @@ Language: [English](README.md) | 中文
104115

105116
## 准备工作 🍭
106117

107-
### 版本兼容
108-
109-
该插件仅保证能与 **stable 渠道的 Flutter SDK** 配合使用。
110-
我们不会为其他渠道的 Flutter SDK 做实时支持。
111-
112-
| | 2.8.0 | 3.3.0 |
113-
|--------|:-----:|:-----:|
114-
| 4.0.0+ |||
115-
| 3.0.0+ |||
116-
117118
如果在 `flutter pub get` 时遇到了 `resolve conflict` 失败问题,
118119
请使用 `dependency_overrides` 解决。
119120

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ UI designs will be updated following the WeChat update in anytime.
2626

2727
See the [Migration Guide][] to learn how to migrate between breaking changes.
2828

29+
## Versions compatibility
30+
31+
The package only guarantees to be working on **the stable version of Flutter**.
32+
We won't update it in real-time to align with other channels of Flutter.
33+
34+
| | 2.8.0 | 3.3.0 | 3.16.0 |
35+
|--------|:-----:|:-----:|:------:|
36+
| 4.2.0+ ||||
37+
| 4.0.0+ ||||
38+
| 3.0.0+ ||||
39+
2940
## Package credits
3041

3142
The package is built from these wonderful packages.
@@ -45,12 +56,12 @@ submit issues to our issue tracker first.
4556

4657
<!-- TOC -->
4758
* [Flutter WeChat Camera Picker](#flutter-wechat-camera-picker)
59+
* [Versions compatibility](#versions-compatibility)
4860
* [Package credits](#package-credits)
4961
* [Features ✨](#features-)
5062
* [Screenshots 📸](#screenshots-)
5163
* [READ THIS FIRST ‼️](#read-this-first-)
5264
* [Preparing for use 🍭](#preparing-for-use-)
53-
* [Versions compatibility](#versions-compatibility)
5465
* [Setup](#setup)
5566
* [Usage 📖](#usage-)
5667
* [Localizations](#localizations)
@@ -108,16 +119,6 @@ before you have any questions.
108119

109120
## Preparing for use 🍭
110121

111-
### Versions compatibility
112-
113-
The package only guarantees to be working on **the stable version of Flutter**.
114-
We won't update it in real-time to align with other channels of Flutter.
115-
116-
| | 2.8.0 | 3.3.0 |
117-
|--------|:-----:|:-----:|
118-
| 4.0.0+ |||
119-
| 3.0.0+ |||
120-
121122
If you got a `resolve conflict` error when running `flutter pub get`,
122123
please use `dependency_overrides` to fix it.
123124

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 4.1.0+30
44
publish_to: none
55

66
environment:
7-
sdk: '>=2.18.0 <4.0.0'
8-
flutter: '>=3.3.0'
7+
sdk: ^3.2.0
8+
flutter: '>=3.16.0'
99

1010
dependencies:
1111
flutter:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ repository: https://github.com/fluttercandies/flutter_wechat_camera_picker
1515
issue_tracker: https://github.com/fluttercandies/flutter_wechat_camera_picker/issues
1616

1717
environment:
18-
sdk: '>=2.18.0 <4.0.0'
19-
flutter: '>=3.3.0'
18+
sdk: ^3.2.0
19+
flutter: '>=3.16.0'
2020

2121
dependencies:
2222
flutter:

0 commit comments

Comments
 (0)