];

return

_lifeCycleDelegate

application

application

didFinishLaunchingWithOptions

launchOptions

];

// Returns the key window's rootViewController, if it's a FlutterViewController.

// Otherwise, returns nil.

FlutterViewController

rootFlutterViewController

UIViewController

viewController

UIApplication

sharedApplication

].

keyWindow

rootViewController

if

([

viewController

isKindOfClass

:[

FlutterViewController

class

]])

return

FlutterViewController

viewController

return

nil