Files
iperf3-gui/lib/main.dart
T
mikkeli 6f809913bd chore: drop leftovers from the pre-JNI binary-execution approach
iperf3_binary_path_provider.dart held no code, only a comment saying the
extract-and-exec approach it belonged to had been replaced. path_provider was
a dependency of that same approach and no longer has a single usage; removing
it regenerates the desktop plugin registrants.

Also drops an unused import in main.dart.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 19:03:59 +09:00

28 lines
721 B
Dart

import 'package:flutter/material.dart';
import 'package:iperf3gui/ui/features/test_run/test_run_screen.dart';
/// Application entry point.
///
/// iperf3 is now compiled as a native shared library (libiperf3jni.so)
/// and accessed via JNI — no binary extraction or chmod needed.
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(const Iperf3GuiApp());
}
class Iperf3GuiApp extends StatelessWidget {
const Iperf3GuiApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'iperf3-gui',
theme: ThemeData(
colorSchemeSeed: Colors.blue,
useMaterial3: true,
),
home: const TestRunScreen(),
);
}
}