Changed font to ubuntu

This commit is contained in:
SomnusVeritas
2023-11-08 11:16:49 +01:00
parent 1f543aec04
commit d2f3eb109d
10 changed files with 24 additions and 1 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

@@ -18,6 +18,7 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
title: 'Get Stuff Done', title: 'Get Stuff Done',
theme: ThemeData( theme: ThemeData(
fontFamily: 'Ubuntu',
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true, useMaterial3: true,
), ),

View File

@@ -25,3 +25,25 @@ dev_dependencies:
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