import 'package:flutter/material.dart';

import 'app.dart';
import 'core/config/app_config.dart';
import 'core/di/injection_container.dart' as di;

/// Production entry point.
///
/// Run with: flutter run -t lib/main_prod.dart --release
/// Or with explicit env: flutter run --dart-define=ENV=prod
/// Build APK: flutter build apk -t lib/main_prod.dart --release
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Initialize production configuration
  AppConfig.initialize(environment: 'prod');

  // Initialize dependency injection
  await di.init();

  runApp(const AgendaApp());
}
