1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Update samples for Dart 3.0.0 (#1803)

This commit is contained in:
Brett Morgan
2023-05-11 12:48:09 +10:00
committed by GitHub
parent bb6bd81d59
commit 82e38e5b79
123 changed files with 1092 additions and 1070 deletions

View File

@@ -3,7 +3,7 @@ import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
let flutterViewController = FlutterViewController()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)