2024-05-10 22:00:14 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:werwolf/screens/playerregistry.dart';
|
2024-06-07 20:02:06 +02:00
|
|
|
import 'package:werwolf/theme/theme.dart';
|
2024-05-10 22:00:14 +02:00
|
|
|
|
|
|
|
void main() {
|
2024-06-07 20:02:06 +02:00
|
|
|
runApp(
|
|
|
|
const MyApp(),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2024-06-18 01:46:57 +02:00
|
|
|
// Main application widget
|
2024-06-07 20:02:06 +02:00
|
|
|
class MyApp extends StatelessWidget {
|
|
|
|
const MyApp({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
2024-06-18 01:46:57 +02:00
|
|
|
theme: halloweenTheme, // Apply custom theme
|
|
|
|
home: const PlayerRegistry(), // Set initial screen to PlayerRegistry
|
|
|
|
debugShowCheckedModeBanner: false, // Disable debug banner
|
2024-06-07 20:02:06 +02:00
|
|
|
);
|
|
|
|
}
|
2024-05-10 22:00:14 +02:00
|
|
|
}
|