Files
retail/lib/core/constants/app_constants.dart
Phuoc Nguyen b94c158004 runable
2025-10-10 16:38:07 +07:00

27 lines
715 B
Dart

/// Application-wide configuration constants
class AppConstants {
AppConstants._();
// App Info
static const String appName = 'Retail POS';
static const String appVersion = '1.0.0';
// Defaults
static const String defaultCurrency = 'USD';
static const String defaultLanguage = 'en';
static const double defaultTaxRate = 0.0;
// Pagination
static const int defaultPageSize = 20;
static const int maxPageSize = 100;
// Cache
static const Duration cacheExpiration = Duration(hours: 24);
static const int maxCacheSize = 100;
// Business Rules
static const int minStockThreshold = 5;
static const int maxCartItemQuantity = 999;
static const double minTransactionAmount = 0.01;
}