Skip to content

Commit

Permalink
Replaced flutter pub run with dart run (flutter#9302)
Browse files Browse the repository at this point in the history
  • Loading branch information
atsansone committed Aug 25, 2023
1 parent 4eb20cb commit 45f9578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cookbook/testing/unit/mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/packages-and-plugins/developing-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45f9578

Please sign in to comment.