import 'package:flutter/material.dart'; import 'home.dart'; import 'constants.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatefulWidget { const MyApp({super.key}); @override State createState() => _MyAppState(); } class _MyAppState extends State { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, // title: '', themeMode: myThemeMode, theme: ThemeData( colorScheme: ColorScheme.fromSeed( seedColor: mySeedColor, brightness: Brightness.light, ), useMaterial3: true, ), darkTheme: ThemeData( colorScheme: ColorScheme.fromSeed( seedColor: mySeedColor, brightness: Brightness.dark, ), useMaterial3: true, ), home: const MyHomePage(), ); } }