Console/macos/Runner/MainFlutterWindow.swift
jean-philippe e20ea43a85 Initial commit: Svrnty Console Flutter application with GetWidget integration
- Implemented responsive dashboard UI with Material Design 3
- Integrated GetWidget 7.0.0 for modern UI components (GFAvatar, custom badges)
- Created collapsible navigation sidebar with smooth animations
- Built status cards grid with uniform badge sizing
- Added activity timeline with recent events
- Configured custom Svrnty branding (Crimson Red #F3574E, Slate Blue #5A6F7D)
- Set up development server on http://localhost:54952/
- Included Montserrat and IBM Plex Mono custom fonts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 13:47:58 -04:00

16 lines
388 B
Swift

import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGeneratedPlugins(registry: flutterViewController)
super.awakeFromNib()
}
}