Reordered Project setup

This commit is contained in:
2026-03-03 10:58:00 +01:00
parent 40d88d5082
commit 597bfb60e8
3 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Splatournament"),
actions: [
PopupMenuButton(
onSelected: (value) {
context.go("/settings");
},
itemBuilder: (context) {
return [PopupMenuItem(value: 1,child: Text("Settings"),)];
},
),
],
),
body: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [Text("Homepage")],
),
),
);
}
}