Skip to content

Commit df33727

Browse files
authored
Update README.md
1 parent fb86d55 commit df33727

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,42 +60,33 @@ Run `fluttergen` after the configuration [`pubspec.yaml`](https://dart.dev/tools
6060

6161
### Use this package as an executable
6262

63-
#### Using a Homebrew Formula
63+
#### Install [FlutterGen]
6464

65-
66-
1. Install [FlutterGen]
65+
##### Using a Homebrew Formula
6766

6867
```sh
6968
$ brew install FlutterGen/tap/fluttergen
7069
```
7170

72-
2. Use [FlutterGen]
73-
74-
```sh
75-
$ fluttergen -h
76-
77-
$ fluttergen -c example/pubspec.yaml
78-
```
79-
80-
#### Using a Dart command-line
81-
82-
1. Install [FlutterGen]
71+
##### Using a Dart command-line
8372

8473
```sh
8574
$ pub global activate flutter_gen
8675

8776
$ export PATH="$PATH":"$HOME/.pub-cache/bin"
8877
```
8978

90-
2. Use [FlutterGen]
79+
#### Use [FlutterGen]
9180

9281
```sh
9382
$ fluttergen -h
9483

9584
$ fluttergen -c example/pubspec.yaml
9685
```
9786

98-
### Use this package as a part of build_runner (Not recomended)
87+
#### Use this package as a part of build_runner (Not recomended)
88+
_Not recommended as it conflicts with flutter localization when using build_runner._
89+
9990
<details><summary>Installation</summary>
10091

10192
1. Add [build_runner] and [FlutterGen] to your package's pubspec.yaml file:

0 commit comments

Comments
 (0)