small app for optimism and positivity learning
- Ask for scenario from 3 classes of seriousness and from one life area.
- Think of N bad consequences resulting from the scenario
- Think of N+1 good consequences resulting from scenario
App will utilize spaced repetition to train positive outlook on life more efficiently =)
app runs on dotenv file, generating internal Env class for usage. So before running app with flutter run do:
- make sure there is a
.envin the root of the project
AUTH="SOME_TOKEN"
BASE_URL="SOME_URL"
- to generate all needed data classes, run following commands:
flutter pub add build_runner(you can try using--devflag, but there is an ongoing bug)flutter pub add envied_generatordart run build_runner cleandart run build_runner build --delete-conflicting-outputs
It should create a file lib/env/env.g.dart
-
run app in debug mode:
flutter run -
for building released package see flutter release