main function

Future<void> main()

The main entry point of the CulicidaeLab application.

Initializes Flutter bindings, sets up dependency injection through the locator, and starts the application with the root widget MosquitoClassifierApp. This function ensures all necessary services are initialized before the UI loads.

Implementation

Future<void> main()  async{

  WidgetsFlutterBinding.ensureInitialized();
  await setupLocator();
  runApp(const MosquitoClassifierApp());
}