Skip to content

Commit 06108c4

Browse files
authored
Update README.md
1 parent a94d327 commit 06108c4

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,28 @@ Widget build(BuildContext context) {
5050

5151
## Installation
5252

53+
Run `fluttergen` after the configuration [`pubspec.yaml`](https://dart.dev/tools/pub/pubspec).
54+
5355
### Use this package as an executable
5456

55-
Run `fluttergen` after the configuration [`pubspec.yaml`](https://dart.dev/tools/pub/pubspec).
57+
#### Using a Homebrew Formula
58+
59+
60+
1. Install [FlutterGen]
61+
62+
```sh
63+
$ brew install FlutterGen/tap/fluttergen
64+
```
65+
66+
2. Use [FlutterGen]
67+
68+
```sh
69+
$ fluttergen -h
70+
71+
$ fluttergen -c example/pubspec.yaml
72+
```
73+
74+
#### Using a Dart command-line
5675

5776
1. Install [FlutterGen]
5877

0 commit comments

Comments
 (0)