View

Button

"Show Flutter!"

openFlutterApp

()

func

openFlutterApp

()

// Get the RootViewController.

guard

let

windowScene

UIApplication

shared

connectedScenes

first

where

$0

activationState

==

foregroundActive

&&

$0

is

UIWindowScene

})

as?

UIWindowScene

let

window

windowScene

windows

first

where

isKeyWindow

),

let