buildApp function

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

Implementation

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

  return runApp(childWidget);
}