fix
This commit is contained in:
34
lib/core/core.dart
Normal file
34
lib/core/core.dart
Normal file
@@ -0,0 +1,34 @@
|
||||
/// Core Module Barrel Export
|
||||
///
|
||||
/// Central export file for all core utilities, constants, and shared components.
|
||||
/// This module contains everything that's shared across features.
|
||||
///
|
||||
/// Usage:
|
||||
/// ```dart
|
||||
/// import 'package:retail/core/core.dart';
|
||||
/// ```
|
||||
///
|
||||
/// Includes:
|
||||
/// - Constants: API, app, storage, UI, performance
|
||||
/// - Network: Dio client, interceptors, network info
|
||||
/// - Storage: Secure storage, database
|
||||
/// - Theme: Material 3 theme, colors, typography
|
||||
/// - Utils: Formatters, validators, extensions, helpers
|
||||
/// - DI: Dependency injection setup
|
||||
/// - Widgets: Reusable UI components
|
||||
/// - Errors: Exception and failure handling
|
||||
library;
|
||||
|
||||
// Export all core modules
|
||||
export 'config/config.dart';
|
||||
export 'constants/constants.dart';
|
||||
export 'database/database.dart';
|
||||
export 'di/di.dart';
|
||||
export 'errors/errors.dart';
|
||||
export 'network/network.dart';
|
||||
export 'performance.dart';
|
||||
export 'providers/providers.dart';
|
||||
export 'storage/storage.dart';
|
||||
export 'theme/theme.dart';
|
||||
export 'utils/utils.dart';
|
||||
export 'widgets/widgets.dart';
|
||||
Reference in New Issue
Block a user