D4sh12 / flutter-steps-tracker-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Steps Tracker

A simple steps tracker using pedometer.

  1. Cloud Firestone Database.
  2. Daily steps counter.
  3. Heath points exchange.
  4. Login with Firebase and anonymous account with name.
  5. Redeems exchange with health points.
  6. Dark theme support.
  7. Listen to HP && redeems exchange and show snack bar.
  8. There is 2 type of exchange with threshold, big and normal, they are defined by constants in the code.
  9. History for HP and Redeems exchanges.
  10. Users Ranking πŸ”₯, not included in gifs 😒.
  11. Support arabic and english languge.
gif1 gif2

Project structure:

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

Melos Scripts:

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

About


Languages

Language:Dart 99.7%Language:Swift 0.2%Language:Kotlin 0.1%Language:Objective-C 0.0%