SwiftUI

UIKit-Swift

UIKit-ObjC

import

SwiftUI

import

Flutter

struct

ContentView

View

var

body

some

View

Button

"Show Flutter!"

openFlutterApp

()

func

openFlutterApp

()

// Get the RootViewController.

guard

let

windowScene

UIApplication

shared

connectedScenes

first

where

$0

activationState

==

foregroundActive

&&

$0