One Flutter client for network-computer: drive a remote Linux/Mac desktop from Android, iPhone, iPad, or desktop over WebRTC.

0 downloads

network-computer-flutter/macos/Runner/MainFlutterWindow.swift
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/network-computer-flutter.git
HTTPS
https://gitstable.com/git/askrobots/network-computer-flutter.git
SSH
ssh://git@gitstable.com:2222/askrobots/network-computer-flutter.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst No colour (compare) in ⋯: the desk's picture in grey on this device c74471a 1 month, 3 weeks ago History
MainFlutterWindow.swift · 388 bytes · 15 lines
1import Cocoa
2import FlutterMacOS
3
4class MainFlutterWindow: NSWindow {
5 override func awakeFromNib() {
6 let flutterViewController = FlutterViewController()
7 let windowFrame = self.frame
8 self.contentViewController = flutterViewController
9 self.setFrame(windowFrame, display: true)
10
11 RegisterGeneratedPlugins(registry: flutterViewController)
12
13 super.awakeFromNib()
14 }
15}