new home screen design

This commit is contained in:
austinried
2025-10-18 15:06:43 +09:00
parent d59b2afe37
commit 9f98304e0a
6 changed files with 475 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'router.dart';
void main() {
runApp(const MainApp());
}
@@ -9,12 +11,11 @@ class MainApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(
body: Center(
child: Text('Hello World!'),
),
),
return MaterialApp.router(
themeMode: ThemeMode.dark,
darkTheme: ThemeData.dark(useMaterial3: true),
debugShowCheckedModeBanner: false,
routerConfig: router,
);
}
}