This repository is a boilerplate for flutter project.
A lib flutter_launcher_icons
is for create Android and iOS launcher icons from one image files.
After adding or updating a launcher icon file for your app.
- Put a image file in
icon/
. - Run
flutter pub run flutter_launcher_icons:main
See this lib's pub.dev page about more details.
Bash script to create Android and iOS release build at once.
Before submitting your app to Google Play Console or Apple AppStore Connect.
- Run
build.sh
- The resources are created to sub directories under
build/
. See the log to where Android and iOS resources. - For Android, upload
.aab
file to Google play console via your browser. - For iOS, upload
.ipa
file to AppStore console via Apple's Transpoter app.
By using pedantic_mono
, show warning or automatically apply suitable formatting to your code.
Always. VS Code will apply code check automatically.
Automatically apply. But if you want to modify the rules to make them suitable for your style, see this lib's pub.dev.
I don't know the reason, but flutter test --coverage
will count the total lines to calculate the coverage based on only production code which referenced from test code.
So, very beginning of testing, flutter test command shows an useless coverage information like 100% or 90% coverage even if almost all of production code actually not tested.
To fix this issue, use the idea from this stack overflow answer.
When production code files are added or deleted.
- Run
dart_full_coverage.sh