refactor(example): package specific examples instead of a single example

This commit is contained in:
Kingkor Roy Tirtho
2022-08-04 09:20:20 +06:00
parent 6d2952ae6a
commit 4d6d1a1648
267 changed files with 4690 additions and 160 deletions
@@ -0,0 +1,15 @@
import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGeneratedPlugins(registry: flutterViewController)
super.awakeFromNib()
}
}