buildApp function

Future<void> buildApp({
  1. Widget? home,
})

Implementation

Future<void> buildApp({Widget? home}) async {
  MyAppHome = home;
  await readyBeforeRunApp();
  Widget childWidget = MyApp();

  return runApp(childWidget);
}