1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 14:28:51 +00:00

Add deeplink store sample (#1698)

* Adds deeplink store app

* push

* update md

* update
This commit is contained in:
chunhtai
2023-03-16 09:12:32 -07:00
committed by GitHub
parent db18c98799
commit 481c2e3d1d
134 changed files with 5281 additions and 0 deletions

View File

@@ -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()
}
}