From 143f32a564859d39621117a996ac6424a1c796d1 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 22 Jan 2026 12:39:18 +0000 Subject: [PATCH] doc: replace pub run with dart run --- templates/basic/README.md | 2 +- templates/card/README.md | 4 ++-- templates/endless_runner/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/basic/README.md b/templates/basic/README.md index b288a215..77b9bbaa 100644 --- a/templates/basic/README.md +++ b/templates/basic/README.md @@ -75,7 +75,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. diff --git a/templates/card/README.md b/templates/card/README.md index 8895050f..0473ecbc 100644 --- a/templates/card/README.md +++ b/templates/card/README.md @@ -76,7 +76,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. @@ -199,7 +199,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) diff --git a/templates/endless_runner/README.md b/templates/endless_runner/README.md index 538c36d5..6e3b48d5 100644 --- a/templates/endless_runner/README.md +++ b/templates/endless_runner/README.md @@ -109,7 +109,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. @@ -233,7 +233,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)