diff --git a/fonts/ubuntu/Ubuntu-Bold.ttf b/fonts/ubuntu/Ubuntu-Bold.ttf new file mode 100644 index 0000000..c2293d5 Binary files /dev/null and b/fonts/ubuntu/Ubuntu-Bold.ttf differ diff --git a/fonts/ubuntu/Ubuntu-BoldItalic.ttf b/fonts/ubuntu/Ubuntu-BoldItalic.ttf new file mode 100644 index 0000000..ce6e784 Binary files /dev/null and b/fonts/ubuntu/Ubuntu-BoldItalic.ttf differ diff --git a/fonts/ubuntu/Ubuntu-Italic.ttf b/fonts/ubuntu/Ubuntu-Italic.ttf new file mode 100644 index 0000000..a599244 Binary files /dev/null and b/fonts/ubuntu/Ubuntu-Italic.ttf differ diff --git a/fonts/ubuntu/Ubuntu-Light.ttf b/fonts/ubuntu/Ubuntu-Light.ttf new file mode 100644 index 0000000..b310d15 Binary files /dev/null and b/fonts/ubuntu/Ubuntu-Light.ttf differ diff --git a/fonts/ubuntu/Ubuntu-LightItalic.ttf b/fonts/ubuntu/Ubuntu-LightItalic.ttf new file mode 100644 index 0000000..ad0741b Binary files /dev/null and b/fonts/ubuntu/Ubuntu-LightItalic.ttf differ diff --git a/fonts/ubuntu/Ubuntu-Medium.ttf b/fonts/ubuntu/Ubuntu-Medium.ttf new file mode 100644 index 0000000..7340a40 Binary files /dev/null and b/fonts/ubuntu/Ubuntu-Medium.ttf differ diff --git a/fonts/ubuntu/Ubuntu-MediumItalic.ttf b/fonts/ubuntu/Ubuntu-MediumItalic.ttf new file mode 100644 index 0000000..36ac1ae Binary files /dev/null and b/fonts/ubuntu/Ubuntu-MediumItalic.ttf differ diff --git a/fonts/ubuntu/Ubuntu-Regular.ttf b/fonts/ubuntu/Ubuntu-Regular.ttf new file mode 100644 index 0000000..f98a2da Binary files /dev/null and b/fonts/ubuntu/Ubuntu-Regular.ttf differ diff --git a/lib/main.dart b/lib/main.dart index 59da97a..c937111 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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(), ); } diff --git a/lib/models/game.dart b/lib/models/game.dart new file mode 100644 index 0000000..90974f5 --- /dev/null +++ b/lib/models/game.dart @@ -0,0 +1,8 @@ +class Game { + final int id; + final String name; + + Game.fromMap(Map map) + : id = map['id'], + name = map['name']; +} diff --git a/lib/widgets/GamesButton.dart b/lib/widgets/GamesButton.dart new file mode 100644 index 0000000..e69de29 diff --git a/pubspec.yaml b/pubspec.yaml index 7a7f629..b2a66ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,4 +22,26 @@ dev_dependencies: flutter_lints: ^3.0.0 flutter: - uses-material-design: true \ No newline at end of file + 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 \ No newline at end of file