A simple steps tracker using pedometer.
- Cloud Firestone Database.
- Daily steps counter.
- Heath points exchange.
- Login with Firebase and anonymous account with name.
- Redeems exchange with health points.
- Dark theme support.
- Listen to HP && redeems exchange and show snack bar.
- There is 2 type of exchange with threshold, big and normal, they are defined by constants in the code.
- History for HP and Redeems exchanges.
- Users Ranking 🔥, not included in gifs 😢.
- Support arabic and english languge.
lib
├─ app.dart
├─ bootstrap.dart
├─ common
│ ├─ app_manger
│ ├─ const.dart
│ ├─ extension.dart
│ ├─ permission_strategy.dart
│ ├─ provider
│ └─ storage.dart
├─ features
│ ├─ pedometer
│ │ ├─ application
│ │ ├─ data
│ │ └─ domain
│ ├─ root
│ │ ├─ manager
│ │ ├─ pages
│ │ │ ├─ gifts_page
│ │ │ ├─ history_page
│ │ │ ├─ pages.dart
│ │ │ ├─ pedometer_page
│ │ │ └─ rank_page
│ │ ├─ root_screen.dart
│ │ └─ widgets
│ └─ user
│ ├─ application
│ ├─ data
│ ├─ domain
│ └─ presentation
├─ firebase_options.dart
├─ generated
│ ├─ intl
│ ├─ l10n.dart
│ └─ resources
├─ l10n
│ ├─ intl_ar.arb
│ └─ intl_en.arb
├─ main.dart
├─ router
│ ├─ router.dart
│ └─ routes.dart
├─ service_locator
│ ├─ features
│ └─ service_locator.dart
└─ splash.dart
name: flutter_steps_tracker
packages:
- '*'
- packages/**
scripts:
format: melos exec -- "flutter format ."
fix_hints: melos exec -- "dart fix —apply ."
analyze:
run: melos exec -- flutter analyze .
description: Run `dart analyze` in all packages.
easy_local:
run: |
melos exec --depends-on="easy_localization" -- $easy &&
melos exec --depends-on="easy_localization" -- $easy -f keys -o locale_keys.g.dart
env:
easy: flutter pub run easy_localization:generate -S translations
build_runner:
run: |
melos exec --depends-on="build_runner" -- $runner
env:
runner: flutter pub run build_runner build --delete-conflicting-outputs
upgrade:
run: melos exec flutter pub upgrade
spider:
run: |
melos exec spider build