run method

void run(
  1. List<String> args, {
  2. required Widget myApp,
})

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);
}