-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ErrorManager now accepts an AsyncCallback
- Loading branch information
1 parent
113519e
commit cd1bef4
Showing
44 changed files
with
567 additions
and
40 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 @@ | ||
{} |
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,3 +1,5 @@ | ||
## 0.0.1 | ||
## 0.0.2 | ||
Fixed: TestErrorManager init signature | ||
|
||
* TODO: Describe initial release. | ||
## 0.0.1 | ||
initial release. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# {{name}} | ||
|
||
A new Flutter project. | ||
|
||
## Getting Started | ||
|
||
This project is a starting point for a Flrx based Flutter application. | ||
The app is setup using melos for scripts and multi package. | ||
|
||
### Default scripts | ||
You can run the following scripts as "melos <script name>" | ||
|
||
#### analyze | ||
|
||
Run `flutter analyze` in all packages. | ||
- Note: you can also rely on your IDEs Dart Analysis / Issues window. | ||
|
||
#### gen | ||
|
||
Runs all generate scripts | ||
|
||
#### gen:build | ||
|
||
Runs `flutter pub run build_runner build --delete-conflicting-outputs` build in all packages | ||
|
||
#### gen:watch | ||
|
||
Build generated files from build_runner and watch them for changes | ||
Runs `flutter pub run build_runner watch --delete-conflicting-outputs` build in all packages | ||
|
||
#### gen:icons | ||
|
||
Generate native Launcher Icons | ||
You can customize the config from `app/config/icons.yaml` | ||
See https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/README.md#book-guide | ||
|
||
#### gen:splash | ||
|
||
Generate Native Splash Screen | ||
You can customize the config from `app/config/splash.yaml` | ||
See https://github.com/jonbhanson/flutter_native_splash/blob/master/README.md#usage | ||
|
||
#### gen:assets | ||
|
||
Generate an Asset class using spider | ||
You can customize the config from `app/spider.yaml` | ||
See https://birjuvachhani.github.io/spider/ | ||
|
||
#### env:print | ||
|
||
Generate dart define strings from `app/.env` and prints them to console | ||
See https://github.com/ibrahim-mubarak/define-env/blob/master/README.md#usage | ||
|
||
#### env:copy | ||
|
||
Generate dart define strings from `app/.env` and copies it to clipboard | ||
See https://github.com/ibrahim-mubarak/define-env/blob/master/README.md#usage | ||
|
||
##### test | ||
|
||
Runs test in all packages with coverage |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
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,11 @@ | ||
# See https://github.com/ibrahim-mubarak/define-env/blob/master/README.md#usage | ||
define_env: | ||
file_path: lib/config | ||
class: Env | ||
fields: | ||
APP_NAME: | ||
default: {{name}} | ||
type: String | ||
APP_ENV: | ||
default: staging | ||
type: String |
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,8 @@ | ||
## See https://github.com/fluttercommunity/flutter_launcher_icons/blob/master/README.md#book-guide | ||
flutter_icons: | ||
image_path: "logo.png" | ||
|
||
android: true | ||
|
||
ios: true | ||
remove_alpha_ios: true |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Spider | ||
|
||
# Generates unit tests to verify that the assets exists in assets directory | ||
generate_tests: false | ||
|
||
# Use this to remove vcs noise created by the `generated` comments in dart code | ||
no_comments: true | ||
|
||
# Exports all the generated file as the one library | ||
export: true | ||
|
||
# This allows you to import all the generated references with 1 single import! | ||
use_part_of: true | ||
|
||
# Location where all the generated references will be stored | ||
package: resources | ||
|
||
groups: | ||
- paths: | ||
- assets/images | ||
class_name: Images | ||
types: [ .png, .jpg, .jpeg, .webp, .webm, .bmp ] |
File renamed without changes.
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,64 @@ | ||
name: {{name}} | ||
|
||
packages: | ||
- /** | ||
|
||
scripts: | ||
postbootstrap: | ||
run: melos run gen | ||
|
||
analyze: | ||
run: melos exec -c 1 -- flutter analyze . | ||
description: | | ||
Run `flutter analyze` in all packages. | ||
- Note: you can also rely on your IDEs Dart Analysis / Issues window. | ||
gen: | ||
name: "gen" | ||
description: "Run all generate scripts to build" | ||
run: "melos gen:build && melos gen:icons && melos gen:splash && melos gen:assets" | ||
|
||
# Build Runner Scripts | ||
gen:build: | ||
name: "gen:build" | ||
description: 'Build generated files from build_runner' | ||
run: melos exec -c 1 --depends-on="build_runner" -- "flutter pub run build_runner build --delete-conflicting-outputs" | ||
|
||
gen:watch: | ||
name: "gen:watch" | ||
description: 'Build generated files from build_runner and watch them for changes' | ||
run: melos exec -c 1 --depends-on="build_runner" -- "flutter pub run build_runner watch --delete-conflicting-outputs" | ||
|
||
# Generate Icons | ||
gen:icons: | ||
name: "gen:icons" | ||
description: 'Generate Launcher Icons' | ||
run: melos exec --scope "{{name}}" -- "flutter pub run flutter_launcher_icons:main -f config/icons.yaml" | ||
|
||
# Generate Splash Screens | ||
gen:splash: | ||
name: "gen:splash" | ||
description: 'Generate Splash Screen' | ||
run: melos exec --scope "{{name}}" -- "flutter pub run flutter_native_splash:create --path=config/splash.yaml" | ||
|
||
# Generate Assets | ||
gen:assets: | ||
name: "gen:assets" | ||
description: 'Generate assets using spider' | ||
run: melos exec --file-exists="spider.yaml" -- "spider build" | ||
|
||
# Generate Dart define string | ||
env:print: | ||
name: "env:print" | ||
description: 'Generate Dart define strings from env and print to console' | ||
run: melos exec --scope "{{name}}" -- "define_env -s config/env.yaml" | ||
|
||
env:copy: | ||
name: "env:copy" | ||
description: 'Generate Dart define strings from env and copy to clipboard' | ||
run: melos exec --scope "{{name}}" -- "define_env -s config/env.yaml --no-print -c" | ||
|
||
# Run Tests | ||
test: | ||
name: "test" | ||
description: 'Run all unit tests' | ||
run: melos exec --dir-exists test --flutter -- "flutter test --coverage" |
File renamed without changes.
Oops, something went wrong.