Ajout fichiers

This commit is contained in:
Gabriel
2023-05-31 10:45:12 +02:00
commit 6d17b302d6
135 changed files with 5319 additions and 0 deletions

27
lib/main.dart Normal file
View File

@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
import 'package:space_traders/pages/home_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'SpaceTraders',
initialRoute: 'home',
routes: {
'home': (BuildContext context) => HomePage(),
},
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.green),
),
);
}
}