Commit ddcb94a1 authored by promise's avatar promise

FIX: modify readme

parent 3376d663
...@@ -14,7 +14,7 @@ A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plug ...@@ -14,7 +14,7 @@ A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plug
<a name="bf647454"></a> <a name="bf647454"></a>
# Prerequisites # Prerequisites
You need to add Flutter to your project before moving on.The version of the flutter SDK requires v1.5.4-hotfixes, or it will compile error. You need to add Flutter to your project before moving on.The version of the flutter SDK requires v1.9.1+hotfix.5, or it will compile error.
# Getting Started # Getting Started
...@@ -23,17 +23,20 @@ You need to add Flutter to your project before moving on.The version of the flut ...@@ -23,17 +23,20 @@ You need to add Flutter to your project before moving on.The version of the flut
Open you pubspec.yaml and add the following line to dependencies: Open you pubspec.yaml and add the following line to dependencies:
```java ```json
flutter_boost: ^0.1.54 flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: 'feature/flutter_1.9_androidx_upgrade'
``` ```
or you could rely directly on a Github project tag, for example(recommended) or you could rely directly on a Github project tag, for example(recommended)
```java ```java
flutter_boost: flutter_boost:
git: git:
url: 'https://github.com/alibaba/flutter_boost.git' url: 'https://github.com/alibaba/flutter_boost.git'
ref: '0.1.54' ref: 'feature/flutter_1.9_androidx_upgrade'
``` ```
......
...@@ -22,7 +22,10 @@ ...@@ -22,7 +22,10 @@
打开pubspec.yaml并将以下行添加到依赖项: 打开pubspec.yaml并将以下行添加到依赖项:
```json ```json
flutter_boost: ^0.1.54 flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: 'feature/flutter_1.9_androidx_upgrade'
``` ```
或者可以直接依赖github的项目的版本,Tag,pub发布会有延迟,推荐直接依赖Github项目 或者可以直接依赖github的项目的版本,Tag,pub发布会有延迟,推荐直接依赖Github项目
...@@ -30,9 +33,9 @@ flutter_boost: ^0.1.54 ...@@ -30,9 +33,9 @@ flutter_boost: ^0.1.54
```java ```java
flutter_boost: flutter_boost:
git: git:
url: 'https://github.com/alibaba/flutter_boost.git' url: 'https://github.com/alibaba/flutter_boost.git'
ref: '0.1.54' ref: 'feature/flutter_1.9_androidx_upgrade'
``` ```
## Dart代码的集成 ## Dart代码的集成
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment