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( initializeNative: !bool.fromEnvironment('MESHPORT_UI_PREVIEW'), ), ); } 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)), ), ), );