File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff 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
101921 . Add [ build_runner] and [ FlutterGen] to your package's pubspec.yaml file:
You can’t perform that action at this time.
0 commit comments