mirror of
https://github.com/tonytins/bullseye.git
synced 2025-03-23 07:32:19 +00:00
- The project was restarted using Android Studio. - Adoptive platform-specific widgets has been removed due to build issues with Android. - Dual-licensed under the BSD-3-Clause license and UNLICENSE.
15 lines
393 B
Swift
15 lines
393 B
Swift
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()
|
|
}
|
|
}
|