Ubuntu font
This commit is contained in:
1 parent
42927275f6
commit
781c92faf0
12 files changed
+35
-5
No files matched your search
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.
+5
-5
@@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
class Game {
|
||||
final int id;
|
||||
final String name;
|
||||
|
||||
Game.fromMap(Map<String, dynamic> map)
|
||||
: id = map['id'],
|
||||
name = map['name'];
|
||||
}
|
||||
Whitespace-only changes.
@@ -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
|
||||
Reference in new issue
Block a user