runable
This commit is contained in:
26
lib/core/constants/app_constants.dart
Normal file
26
lib/core/constants/app_constants.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
/// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user