Skip to content

michcio53/values_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Values Generator

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

Documentation

Requirements

  • Flutter 1.22.2
  • Xcode

Startup

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 get

After 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.dart

If you are using Visual Studio Code, there is a file that conveniently handles them for you.

Tests

To run the test please write following command in main folder

flutter test

Generate Values

Classes

To regenerate injectable and freezed classes write:

flutter pub pub run build_runner build 

Translations

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

Screens

Alt text Alt text Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages