Initial commit: COPILOT D6 Flutter keyboard controller
Flutter web app replacing legacy WPF CCTV surveillance keyboard controller. Includes wall overview, section view with monitor grid, camera input, PTZ control, alarm/lock/sequence BLoCs, and legacy-matching UI styling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
28
copilot_keyboard/lib/main.dart
Normal file
28
copilot_keyboard/lib/main.dart
Normal file
@@ -0,0 +1,28 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:logger/logger.dart';
|
||||
|
||||
import 'app.dart';
|
||||
import 'injection_container.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
final logger = Logger();
|
||||
|
||||
try {
|
||||
// Initialize dependencies
|
||||
logger.i('Initializing dependencies...');
|
||||
await initializeDependencies();
|
||||
|
||||
// Initialize services and connect to bridges
|
||||
logger.i('Initializing services...');
|
||||
await initializeServices();
|
||||
|
||||
logger.i('Starting COPILOT Keyboard app...');
|
||||
} catch (e, stackTrace) {
|
||||
logger.e('Initialization failed', error: e, stackTrace: stackTrace);
|
||||
// Continue anyway - app will show disconnected state
|
||||
}
|
||||
|
||||
runApp(const CopilotKeyboardApp());
|
||||
}
|
||||
Reference in New Issue
Block a user