Spooky is developed using the latest version of Flutter:
If you have a different version on your machine, consider:
fvm flutter pub get
fvm flutter run
We use build_runner to generate model, route, etc. To generate, run following command:
fvm flutter pub run build_runner build --delete-conflicting-outputs
See more:
We use flutter_gen to get rid of all String-based APIs. Motivation:
// String-based practice - bad practice
Image.asset('assets/images/profile.jpeg');
// Better practice
Image.asset(Assets.images.profile.path);
See more:
Spooky is powered by Material 3
design system. Basic usages of theme:
M3TextTheme.of(context).bodySmall
M3Color.of(context).primary
For more advance usages, theme usage: theme.md
We use Semantic Versioning to numbering each release.
Example. the current version is 1
.0
.0
. Given the version number MAJOR
.MINOR
.PATCH
then increment the:
2
.0
.0
1
.1
.0
1
.0
.1
Use the following commands to release them to the remote repository:
git tag 1.0.6
git push 1.0.6
For better managing our documents, we move most part to “docs/” directory. In case you want to add more documentation, consider:
docs/document_category/your_doc.md
README.md