run method
Initiates the app.
On desktop this uses runMultiApp so Infospect can open a secondary
window in the same Flutter engine. On mobile / web this uses runApp.
args: Kept for API compatibility; unused with multiview_desktop.myApp: The main widget to run for the app.
Implementation
void run(List<String> args, {required Widget myApp}) {
if (!kIsWeb && InfospectUtil.isDesktop) {
runMultiApp(home: (context, id) => myApp);
} else {
runApp(myApp);
}
if (!_infospect._runAppCompleter.isCompleted) {
_infospect._runAppCompleter.complete(true);
}
}