6f809913bd
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>
28 lines
721 B
Dart
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(),
|
|
);
|
|
}
|
|
}
|