mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
* Simplistic Calculator, initial commit * Add Linux runner * Add macOS runner, update `main.dart` for iOS * Add a test
10 lines
214 B
Swift
10 lines
214 B
Swift
import Cocoa
|
|
import FlutterMacOS
|
|
|
|
@NSApplicationMain
|
|
class AppDelegate: FlutterAppDelegate {
|
|
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
|
return true
|
|
}
|
|
}
|