-
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.
- Loading branch information
Showing
6 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,27 +1,62 @@ | ||
# StreakCounters | ||
|
||
A new Flutter project. | ||
A simple app for tracking daily, weakly or monthly activities and showing them in streaks, | ||
kind of like duo lingo but for anything. | ||
|
||
## Getting Started | ||
<img src=".github/assets/home.png" alt="Home Screen" width="300"/> | ||
<img src=".github/assets/daily_calender.png" alt="Daily calender" width="300"/> | ||
<img src=".github/assets/weekly_calender.png" alt="Weekly calender" width="300"/> | ||
|
||
The latest version of the app apk can be downloaded | ||
from [the release page](https://github.com/wiemanboy/StreakCounters/releases). | ||
|
||
This project is a starting point for a Flutter application. | ||
Currently, the app is only available for android as building for ios requires a macOS instance and | ||
that would see me go through my action minutes 10x faster. | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
Refer to the | ||
flutter [macOS setup documentation](https://docs.flutter.dev/get-started/install/macos/mobile-ios) | ||
and [ios build documentation](https://docs.flutter.dev/deployment/ios) if you have a macOS | ||
instance and want to build the app yourself. | ||
|
||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) | ||
## Getting Started | ||
|
||
For help getting started with Flutter development, view the | ||
[online documentation](https://docs.flutter.dev/), which offers tutorials, | ||
This project is build using flutter. | ||
|
||
For help getting started with Flutter development, view | ||
[the online documentation](https://docs.flutter.dev/), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. | ||
|
||
## Auto generate objectbox.g.dart | ||
## ObjectBox | ||
|
||
This project uses ObjectBox for storing data. | ||
|
||
The following command is used to generate the objectbox files based on the models. | ||
|
||
```bash | ||
dart run build_runner build | ||
``` | ||
|
||
## Deplopyment | ||
## Testing | ||
|
||
Test files are located in the test directory, | ||
all files must be appended with `_test.dart` for flutter to recognize them. | ||
|
||
These can then be run using the following command: | ||
```bash | ||
flutter test | ||
``` | ||
|
||
## Building | ||
|
||
Before building the app, the icons must be generated using the following command: | ||
|
||
```bash | ||
dart run flutter_launcher_icons | ||
``` | ||
|
||
This will generate the different icons needed for the app based of the `app_icon.png` file, defined | ||
in the `pubspec.yml`. | ||
|
||
```bash | ||
flutter build apk --release | ||
``` |
Binary file not shown.