-
-
Notifications
You must be signed in to change notification settings - Fork 956
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate from 'flutter pub run' to 'dart run' (#2757)
--------- Co-authored-by: Remi Rousselet <[email protected]>
- Loading branch information
1 parent
de164ad
commit 7db87eb
Showing
6 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The standard Flutter Counter example built with [Riverpod] | ||
|
||
This uses `ProvidedScope`. | ||
|
||
|
||
[riverpod]: https://github.com/rrousselGit/riverpod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# Pub | ||
|
||
Install needed global packages | ||
## Install needed global packages | ||
|
||
```bash | ||
cd riverpod | ||
dart pub global activate melos | ||
``` | ||
|
||
Build the riverpod packages | ||
## Build the Example App | ||
|
||
Run the code generation | ||
```bash | ||
cd examples/pub | ||
flutter pub get | ||
dart run build_runner build -d | ||
``` | ||
|
||
## Start the Example App | ||
## Run the Example App | ||
|
||
Create and run the android deployable | ||
```bash | ||
cd examples/pub | ||
flutter pub run build_runner build | ||
|
||
|
||
flutter create . --platforms android | ||
flutter run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters