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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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)),
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

View File

@@ -23,3 +23,25 @@ dev_dependencies:
flutter_lints: ^3.0.0
flutter:
uses-material-design: true
fonts:
- family: Ubuntu
fonts:
- asset: fonts/ubuntu/Ubuntu-Bold.ttf
weight: 700
- asset: fonts/ubuntu/Ubuntu-BoldItalic.ttf
weight: 700
style: italic
- asset: fonts/ubuntu/Ubuntu-Italic.ttf
style: italic
- asset: fonts/ubuntu/Ubuntu-Light.ttf
weight: 300
- asset: fonts/ubuntu/Ubuntu-LightItalic.ttf
weight: 300
style: italic
- asset: fonts/ubuntu/Ubuntu-Medium.ttf
weight: 500
- asset: fonts/ubuntu/Ubuntu-MediumItalic.ttf
weight: 500
style: italic
- asset: fonts/ubuntu/Ubuntu-Regular.ttf
weight: 400