From 45f95784a38ee0caa5ae518cc4a2d3f89591338c Mon Sep 17 00:00:00 2001 From: Anthony Sansone Date: Fri, 25 Aug 2023 12:30:56 -0500 Subject: [PATCH] Replaced `flutter pub run` with `dart run` (#9302) Fixes #9301 --- src/cookbook/testing/unit/mocking.md | 2 +- src/packages-and-plugins/developing-packages.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cookbook/testing/unit/mocking.md b/src/cookbook/testing/unit/mocking.md index f207ea9afe..e4baa9db3d 100644 --- a/src/cookbook/testing/unit/mocking.md +++ b/src/cookbook/testing/unit/mocking.md @@ -126,7 +126,7 @@ void main() { Next, generate the mocks running the following command: ```terminal -$ flutter pub run build_runner build +$ dart run build_runner build ``` ## 4. Write a test for each condition diff --git a/src/packages-and-plugins/developing-packages.md b/src/packages-and-plugins/developing-packages.md index 86582b3533..6d4a896fdd 100644 --- a/src/packages-and-plugins/developing-packages.md +++ b/src/packages-and-plugins/developing-packages.md @@ -733,7 +733,7 @@ To avoid writing these by hand, they are generated from the header file Regenerate the bindings by running the following: ```terminal -$ flutter pub run ffigen --config ffigen.yaml +$ dart run ffigen --config ffigen.yaml ``` ### Step 4: Invoking native code