feat: Implement Windows runner for Flutter application

- Added FlutterWindow class to manage the Flutter view within a Win32 window.
- Created main entry point in main.cpp to initialize and run the Flutter application.
- Implemented utility functions for console attachment and command line argument parsing.
- Added resource management for application icon and manifest.
- Enhanced Win32Window class for DPI awareness and theme management.
- Included necessary headers and resource files for building the Windows runner.
This commit is contained in:
Janez T
2025-11-14 09:52:00 +01:00
commit 4577dec95a
314 changed files with 103048 additions and 0 deletions

25
test/widget_test.dart Normal file
View File

@@ -0,0 +1,25 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_sar_app/main.dart';
void main() {
testWidgets('App launches smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MeshCoreSarApp());
// Verify that our app title appears.
expect(find.text('MeshCore SAR'), findsOneWidget);
// Verify the tab bar appears with tabs
expect(find.text('Messages'), findsOneWidget);
expect(find.text('Contacts'), findsOneWidget);
expect(find.text('Map'), findsOneWidget);
});
}