main function

void main()

The entry point of the Fetosense MIS application.

Initializes preferences, sets up dependency injection, and runs the app.

Implementation

void main() async {
  PreferenceHelper.init();
  setupLocator();
  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );
  runApp(const MyApp());

}