Skip to content

Commit 7e912c0

Browse files
authored
Revise 'fluwx' installation and configuration instructions (CN)
1 parent ea22613 commit 7e912c0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README_CN.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@
4343

4444
## 安装
4545

46-
`pubspec.yaml` 文件中添加`fluwx`依赖:
47-
48-
`Fluwx`,带支付:
46+
`pubspec.yaml` 文件中添加 `fluwx` 依赖(默认带支付功能):
4947

5048
```yaml
5149
dependencies:
@@ -54,14 +52,15 @@ dependencies:
5452
5553
![pub package](https://img.shields.io/pub/v/fluwx.svg)
5654
55+
> [!WARNING]
56+
> 别忘记替换 ^${latestVersion} !为 `fluwx` 的发布版本!<br />
57+
> (参考上面的版本号,或pub.dev 上的 [versions](https://pub-web.flutter-io.cn/packages/fluwx/versions))
58+
5759
> [!NOTE]
58-
> 不带支付的`Fluwx`:<br/>
59-
> 一些开发者并不需要在iOS端使用支付能力,此时您可以通过在 pubspec.yaml 中设置 `no_pay: true` 来去除支付能力。<br/>
60+
> 不带支付的 `fluwx`:<br/>
61+
> 一些开发者并不需要在 iOS 端使用支付能力,此时您只需要在 pubspec.yaml 的 `fluwx` 部分设置 `no_pay: true` 来去除支付能力。<br/>
6062
> 参考文件:[example/pubspec.yaml](./example/pubspec.yaml#L19)<br/>
6163

62-
> [!WARNING]
63-
> 别忘记替换 ^${latestVersion} !为 `fluwx` 的发布版本!(参考 pub.dev 上的 [versions](https://pub-web.flutter-io.cn/packages/fluwx/versions))
64-
6564
## 配置
6665

6766
`Fluwx` 从v4开始可以在`pubspec.yaml`的`fluwx`进行一些配置。具体可以参考[pubspec.yaml](./example/pubspec.yaml#L10)。

0 commit comments

Comments
 (0)