import 'package:flutter/material.dart';

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

/// Development entry point.
///
/// Run with: flutter run -t lib/main_dev.dart
/// Or with explicit env: flutter run --dart-define=ENV=dev
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Initialize development configuration
  AppConfig.initialize(environment: 'dev');

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

  runApp(const AgendaApp());
}
