Skip to content

KlubJagiellonski/pola-barcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pola_barcodes

A Flutter web application for displaying and managing barcodes used in the Pola project.

Live app: https://klubjagiellonski.github.io/pola-barcodes/

Internationalization (i18n)

This project uses slang for internationalization. Translation source files are located in lib/i18n/ (e.g. strings.i18n.json, strings-pl.i18n.json).

The generated Dart file (lib/i18n/strings.g.dart) is not committed to the repository. It must be generated before building or running the app:

flutter pub get
dart run slang

This project also uses json_serializable for JSON serialization. The generated file (lib/barcode_item.g.dart) is not committed to the repository and must also be generated:

dart run build_runner build --delete-conflicting-outputs

URL Paths

The app supports several URL paths that make it easy to share specific barcodes.

Predefined codes

You can share a predefined barcode by navigating to /code/{codeName}:

Custom codes

You can quickly create a custom barcode by using the EAN-13 or EAN-8 path:

Adding a description

You can also add a description to any code using the description query parameter:

Development

flutter pub get
dart run slang
dart run build_runner build --delete-conflicting-outputs
flutter run -d chrome

Building

flutter pub get
dart run slang
dart run build_runner build --delete-conflicting-outputs
flutter build web

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors