File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,21 @@ A command-line tool which simplifies the task of updating your Flutter app's lau
13
13
Run the following command to create a new config automatically:
14
14
15
15
``` shell
16
- dart run run flutter_launcher_icons:generate
16
+ dart run flutter_launcher_icons:generate
17
17
```
18
18
19
19
This will create a new file called ` flutter_launcher_icons.yaml ` in your ` flutter ` project's root directory.
20
20
21
21
If you want to override the default location or name of the config file, use the ` -f ` flag:
22
22
23
23
``` shell
24
- dart run run flutter_launcher_icons:generate -f < your config file name here>
24
+ dart run flutter_launcher_icons:generate -f < your config file name here>
25
25
```
26
26
27
27
To override an existing config file, use the ` -o ` flag:
28
28
29
29
``` shell
30
- dart run run flutter_launcher_icons:generate -o
30
+ dart run flutter_launcher_icons:generate -o
31
31
```
32
32
33
33
OR
@@ -64,15 +64,15 @@ After setting up the configuration, all that is left to do is run the package.
64
64
65
65
` ` ` shell
66
66
flutter pub get
67
- flutter pub run flutter_launcher_icons
67
+ dart run flutter_launcher_icons
68
68
```
69
69
70
70
If you name your configuration file something other than ` flutter_launcher_icons.yaml ` or ` pubspec.yaml ` you will need to specify
71
71
the name of the file when running the package.
72
72
73
73
``` shell
74
74
flutter pub get
75
- flutter pub run flutter_launcher_icons -f < your config file name here>
75
+ dart run flutter_launcher_icons -f < your config file name here>
76
76
```
77
77
78
78
Note: If you are not using the existing ` pubspec.yaml ` ensure that your config file is located in the same directory as it.
You can’t perform that action at this time.
0 commit comments