Ubuntu font
This commit is contained in:
BIN
fonts/ubuntu/Ubuntu-Bold.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-Bold.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-BoldItalic.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-Italic.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-Italic.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-Light.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-Light.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-LightItalic.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-LightItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-Medium.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-Medium.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-MediumItalic.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/ubuntu/Ubuntu-Regular.ttf
Normal file
BIN
fonts/ubuntu/Ubuntu-Regular.ttf
Normal file
Binary file not shown.
@@ -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
8
lib/models/game.dart
Normal 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'];
|
||||
}
|
||||
0
lib/widgets/GamesButton.dart
Normal file
0
lib/widgets/GamesButton.dart
Normal file
24
pubspec.yaml
24
pubspec.yaml
@@ -22,4 +22,26 @@ dev_dependencies:
|
||||
|
||||
flutter_lints: ^3.0.0
|
||||
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