- Lab app: proxy panel, node editor, configuration and detail pages, responsive layout, and related tests - Add meshport-socks crate and sing-box bridge scripts/docs - Add singbox_flutter binding and meshport_client_core package - FFI, VPN helper (unified mac path), and Android/macOS runner updates - Docs for architecture, client runtime, UI design, and validation - UI design output artifacts under outputs/ui Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
38 lines
1.0 KiB
Dart
38 lines
1.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'features/lab_screen.dart';
|
|
|
|
class MeshPortApp extends StatelessWidget {
|
|
const MeshPortApp({super.key});
|
|
@override
|
|
Widget build(BuildContext context) => MaterialApp(
|
|
title: 'MeshPort',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: meshPortTheme(),
|
|
home: const LabScreen(),
|
|
);
|
|
}
|
|
|
|
ThemeData meshPortTheme() => ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: const Color(0xff087d8e),
|
|
surface: const Color(0xfffaf8f4),
|
|
),
|
|
scaffoldBackgroundColor: const Color(0xfffaf8f4),
|
|
inputDecorationTheme: const InputDecorationTheme(
|
|
border: OutlineInputBorder(),
|
|
isDense: false,
|
|
contentPadding: EdgeInsets.symmetric(horizontal: 16, vertical: 18),
|
|
helperMaxLines: 3,
|
|
errorMaxLines: 3,
|
|
),
|
|
cardTheme: CardThemeData(
|
|
elevation: 0,
|
|
color: Colors.white,
|
|
shape: RoundedRectangleBorder(
|
|
borderRadius: BorderRadius.circular(14),
|
|
side: const BorderSide(color: Color(0xffe4e0d9)),
|
|
),
|
|
),
|
|
);
|