mirror of
https://github.com/flutter/samples.git
synced 2026-03-21 20:08:16 +00:00
Replace pub run usages with dart run (#2777)
Following up on https://github.com/dart-lang/pub/issues/4737, this PR replaces deprecated `pub run` commands with `dart run`.
This commit is contained in:
@@ -69,7 +69,7 @@ lib
|
||||
|
||||
The state management approach is intentionally low-level. That way, it's easy to
|
||||
take this project and run with it, without having to learn new paradigms, or having
|
||||
to remember to run `flutter pub run build_runner watch`. You are,
|
||||
to remember to run `dart run build_runner watch`. You are,
|
||||
of course, encouraged to use whatever paradigm, helper package or code generation
|
||||
scheme that you prefer.
|
||||
|
||||
@@ -522,7 +522,7 @@ To update the launcher icon, first change the files
|
||||
Then, run the following:
|
||||
|
||||
```bash
|
||||
flutter pub run flutter_launcher_icons:main
|
||||
dart run flutter_launcher_icons:main
|
||||
```
|
||||
|
||||
You can [configure](https://github.com/fluttercommunity/flutter_launcher_icons#book-guide)
|
||||
|
||||
Reference in New Issue
Block a user