Ubuntu font

This commit is contained in:
SomnusVeritas
2023-10-21 10:35:16 +02:00
parent 42927275f6
commit 781c92faf0
12 changed files with 36 additions and 6 deletions

View File

@@ -31,11 +31,11 @@ class Application extends StatelessWidget {
return MaterialApp(
title: 'Maggs\' Victory Voyage',
theme: ThemeData(
colorScheme:
ColorScheme.fromSeed(seedColor: Color.fromARGB(255, 233, 206, 252)),
// .copyWith(background: const Color.fromARGB(255, 74, 186, 145)),
useMaterial3: true,
),
colorScheme: ColorScheme.fromSeed(
seedColor: const Color.fromARGB(255, 233, 206, 252)),
// .copyWith(background: const Color.fromARGB(255, 74, 186, 145)),
useMaterial3: true,
fontFamily: 'Ubuntu'),
home: const SplashPage(),
);
}

8
lib/models/game.dart Normal file
View File

@@ -0,0 +1,8 @@
class Game {
final int id;
final String name;
Game.fromMap(Map<String, dynamic> map)
: id = map['id'],
name = map['name'];
}

View File