ContentView

()

environmentObject

flutterDependencies

As an example, we demonstrate creating a
FlutterEngine, exposed as a property, on app startup in
the app delegate.

In AppDelegate.swift:

import

UIKit

import

Flutter

// The following library connects plugins with iOS platform code to this app.

import

FlutterPluginRegistrant

@UIApplicationMain

class

AppDelegate

FlutterAppDelegate

// More on the FlutterAppDelegate.

lazy

var

flutterEngine

FlutterEngine

name

"my flutter engine"

override

func

application

application

UIApplication