App that shows a random value on the screen.
Features:
- support for preloading values from json
- creating, storing and deleting values in app
- saving values to favourites
- displaying values and favourites in lists
- light and dark theme dependent on system settings
- Flutter 1.22.2
- Xcode
To start a project first you need to get the dependencies. Go to your main folder and write following command in your terminal.
flutter pub getAfter that you can run this app.
This project supports build variants. To use one of them simply write:
- for development:
flutter run -t lib/main_dev.dart- for production
flutter run -t lib/main.dartIf you are using Visual Studio Code, there is a file that conveniently handles them for you.
To run the test please write following command in main folder
flutter testTo regenerate injectable and freezed classes write:
flutter pub pub run build_runner build To regernerate translations use:
flutter pub run easy_localization:generate --source-dir ./assets/translations and then:
flutter pub run easy_localization:generate --source-dir ./assets/translations -f keys -o locale_keys.g.dart