application

application

UIApplication

didFinishLaunchingWithOptions

launchOptions

UIApplication

LaunchOptionsKey

Any

]?)

>

Bool

// Runs the default Dart entrypoint with a default Flutter route.

flutterEngine

run

();

// Used to connect plugins (only if you have plugins with iOS platform code).

GeneratedPluginRegistrant

register

with

self

flutterEngine

);

return

true

@main

struct

MyApp

App

//  Use this property wrapper to tell SwiftUI

//  it should use the AppDelegate class for the application delegate