ezyLite POS
Embeddable Flutter POS module for retail checkout — barcode scanning, cart management, and payments. Drop it into any host app with one line.
Installation
Add to pubspec.yaml:
dependencies:
ezylite: ^1.1.2
Then run:
flutter pub get
Quick start
import 'package:ezylite/ezylite.dart';
final result = await EzyLitePlugin.open(
context,
config: EzyLiteConfig.malaysia(
licenseKey: 'LIC-DEV-001',
deviceId: 'stable-device-uuid',
merchantId: 1,
outletId: 1,
trolleyNo: 'Trolley-01',
),
);
if (result != null) {
print('POS closed: ${result.status.name}');
}
Configuration
| Field | Description |
|---|---|
licenseKey |
Outlet license key from CMS |
deviceId |
Stable local device UUID (Android / iOS) |
merchantId |
Merchant id used for token refresh |
outletId |
Outlet id used for token refresh |
trolleyNo |
Friendly device id used on activate / token refresh (optional) |
Malaysia preset
EzyLiteConfig.malaysia(
licenseKey: 'LIC-DEV-001',
deviceId: '550e8400-e29b-41d4-a716-446655440000',
merchantId: 1,
outletId: 1,
trolleyNo: 'Trolley-01',
)
Saudi preset
EzyLiteConfig.saudi(
licenseKey: 'LIC-DEV-001',
deviceId: '550e8400-e29b-41d4-a716-446655440000',
merchantId: 1,
outletId: 1,
trolleyNo: 'Trolley-01',
)
Platform support
| Platform | Supported |
|---|---|
| Android | Yes |
| iOS | Yes |
Camera permission is required for barcode scanning. The host app should request camera access before opening POS if needed.
Example
See the example/ folder for a minimal host app integration.
Documentation
Publisher
Published by Retailetics.
Libraries
- core/constants/app_constants
- core/constants/auth_defaults
- core/di/service_locator
- core/navigation/app_router
- core/network/dio_client
- core/network/network_response
- core/storage/payment_qr_storage
- core/storage/preferences_manager
- core/theme/app_theme
- core/utils/json_parsers
- core/utils/responsive
- data/models/auth_models
- data/models/cart_models
- data/models/product_models
- data/models/shopping_models
- data/remote/api_service
- data/repositories/auth_repository_impl
- domain/models/app_mode
- domain/repositories/auth_repository
- ezylite
- ezyLite POS — Flutter package for retail checkout.
- flavors/flavor_config
- presentation/activation/activation_notifier
- presentation/activation/activation_screen
- presentation/common/widgets/in_app_web_view_screen
- presentation/home/dialogs/camera_scanner_dialog
- presentation/home/dialogs/delete_product_dialog
- presentation/home/dialogs/edit_product_dialog
- presentation/home/dialogs/manual_barcode_dialog
- presentation/home/dialogs/payment_result_dialogs
- presentation/home/dialogs/product_price_dialog
- presentation/home/dialogs/show_my_qr_dialog
- presentation/home/dialogs/voucher_dialog
- presentation/home/home_notifier
- presentation/home/home_screen
- presentation/home/widgets/cart_item_card
- presentation/home/widgets/checkout_summary
- presentation/home/widgets/empty_cart
- presentation/home/widgets/home_drawer
- presentation/home/widgets/home_top_bar
- presentation/home/widgets/payment_details_sheet
- presentation/home/widgets/picker_pick_list
- presentation/login/login_notifier
- presentation/login/login_screen
- presentation/splash/splash_notifier
- presentation/splash/splash_screen