run method
Initiates the app with specified arguments.
args
: A list of arguments.myApp
: The main widget to run for the app.
Implementation
void run(List<String> args, {required Widget myApp}) {
if (args.firstOrNull == 'multi_window') {
runNewWindowInstance(args);
return;
}
runApp(myApp);
_infospect._runAppCompleter.complete(true);
}