
Configures the ObjectBox ProductEntity to allow assigning IDs. Adds a helper to convert ProductStruct to ProductEntity for easier storage. Saves scanned products directly to the local ObjectBox store. Updates the ProductListPage to fetch and display locally stored products from ObjectBox upon initialization. Includes minor UI adjustments in the scanned product component and scanner page, and fixes loading state handling in HomePageModel.
barcode_scanner
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
flutter_launcher_icons
Icon launcher generator
flutter pub run flutter_launcher_icons:main
Development tool
This projects uses code generator
dart run build_runner build
dart run build_runner build --delete-conflicting-outputs
- Run this command to detect packages unused
dart pub global activate dependency_validator && dart pub run dependency_validator
Description
Languages
Dart
64.4%
HTML
24.2%
C++
4.5%
CMake
3.6%
Shell
2.1%
Other
1.2%