Skip to content

Commit 4f777d6

Browse files
Update README.md
1 parent 45256f9 commit 4f777d6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/flutter_trianglify/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Flutter widget inspired by http://qrohlf.com/trianglify/
66

77
<img src="https://raw.githubusercontent.com/JonathanMonga/flutter_trianglify/master/screenshots/screenshot.png" alt="Demo Screenshot" height="35%" width="35%"/>
88

9+
## Installation
10+
[![Pub](https://img.shields.io/badge/pub-1.2.0-blue)](https://pub.dev/packages/flutter_trianglify)
11+
12+
Add the Package
13+
```yaml
14+
dependencies:
15+
flutter_trianglify: ^0.0.6
16+
```
917
1018
# Usage
1119
@@ -48,7 +56,7 @@ In order to run the command line example, please follow these steps:
4856

4957
1. Clone this repo and enter the directory
5058
2. Run `pub get`
51-
3. Run `dart example/example.dart`
59+
3. Run `dart example/lib/trianglify_example.dart`
5260

5361
### Flutter Example
5462

@@ -61,7 +69,7 @@ In order to run the flutter example, you must have Flutter installed. For instal
6169

6270
1. Open up an Android Emulator, the iOS Simulator, or connect an appropriate mobile device for debugging.
6371
2. Open up a terminal
64-
3. `cd` into the `example/flutter/github_search` directory
72+
3. `cd` into the `example/lib/trianglify_example` directory
6573
4. Run `flutter doctor` to ensure you have all Flutter dependencies working.
6674
5. Run `flutter packages get`
6775
6. Run `flutter run`

0 commit comments

Comments
 (0)