Skip to content

Commit

Permalink
add remote dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerJQ committed Apr 2, 2019
1 parent 1c3c99c commit 86308c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ flutter run
```

## How to use

### Add dependencies
```yaml
dependencies:
infinite_cards: ^1.0.0
```
### Build controller in initState
```dart
@override
Expand Down
6 changes: 6 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ flutter run

## 如何使用

### 添加依赖
```yaml
dependencies:
infinite_cards: ^1.0.0
```
### 构建Controller
```dart
@override
Expand Down
3 changes: 1 addition & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ environment:
sdk: ">=2.1.0 <3.0.0"

dependencies:
infinite_cards:
path: ../
infinite_cards: ^1.0.0
flutter:
sdk: flutter

Expand Down

0 comments on commit 86308c0

Please sign in to comment.