Ubuntu font
This commit is contained in:
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(
|
return MaterialApp(
|
||||||
title: 'Maggs\' Victory Voyage',
|
title: 'Maggs\' Victory Voyage',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
colorScheme:
|
colorScheme: ColorScheme.fromSeed(
|
||||||
ColorScheme.fromSeed(seedColor: Color.fromARGB(255, 233, 206, 252)),
|
seedColor: const Color.fromARGB(255, 233, 206, 252)),
|
||||||
// .copyWith(background: const Color.fromARGB(255, 74, 186, 145)),
|
// .copyWith(background: const Color.fromARGB(255, 74, 186, 145)),
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
),
|
fontFamily: 'Ubuntu'),
|
||||||
home: const SplashPage(),
|
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'];
|
||||||
|
}
|
||||||
@@ -23,3 +23,25 @@ dev_dependencies:
|
|||||||
flutter_lints: ^3.0.0
|
flutter_lints: ^3.0.0
|
||||||
flutter:
|
flutter:
|
||||||
uses-material-design: true
|
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