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 45052d1..89eeb2a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -18,6 +18,7 @@ class MyApp extends StatelessWidget { return MaterialApp( title: 'Get Stuff Done', theme: ThemeData( + fontFamily: 'Ubuntu', colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), diff --git a/pubspec.yaml b/pubspec.yaml index 19df978..be36c22 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -24,4 +24,26 @@ dev_dependencies: 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