Skip to content

Commit fb86d55

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

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ $ fluttergen -h
9595
$ fluttergen -c example/pubspec.yaml
9696
```
9797

98-
### Use this package as a part of build_runner
99-
98+
### Use this package as a part of build_runner (Not recomended)
99+
<details><summary>Installation</summary>
100+
100101
1. Add [build_runner] and [FlutterGen] to your package's pubspec.yaml file:
101102

102103
```
@@ -117,6 +118,8 @@ $ flutter pub get
117118
$ flutter packages pub run build_runner build
118119
```
119120

121+
</details>
122+
120123
## Configuration file
121124

122125
[FlutterGen] generates dart files based on the key **`flutter`** and **`flutter_gen`** of [`pubspec.yaml`](https://dart.dev/tools/pub/pubspec).

0 commit comments

Comments
 (0)