import 'package:flutter/material.dart'; import 'screens/tab_manager_home.dart'; void main() { runApp(const BrowserTabManagerApp()); } class BrowserTabManagerApp extends StatelessWidget { const BrowserTabManagerApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Browser Tab Manager', theme: ThemeData( colorScheme: ColorScheme.fromSeed( seedColor: const Color(0xFF0175C2), brightness: Brightness.light, ), useMaterial3: true, ), darkTheme: ThemeData( colorScheme: ColorScheme.fromSeed( seedColor: const Color(0xFF0175C2), brightness: Brightness.dark, ), useMaterial3: true, ), home: const TabManagerHome(), ); } } // This is the entry point of our Flutter application. // // The main function is the first thing that runs when the app starts. // // It calls runApp which takes our root widget and displays it on screen. // // BrowserTabManagerApp is a stateless widget that creates the MaterialApp. // // MaterialApp provides the overall app structure including theme, routing, and title. // // We define both a light theme and dark theme that automatically switch based on system settings. // // Both themes use the same blue seed color to generate a consistent color scheme. // // Material 3 design is enabled for modern UI components and styling. // // The home property sets TabManagerHome as the first screen users see. // // This file is kept simple and clean since it only sets up the app foundation. // // All the actual functionality lives in the screens, services, and widgets folders.