Commit 73315ccd authored by Dio Maulana's avatar Dio Maulana

add opensans font

parent f2067cff
......@@ -4,6 +4,7 @@ class FontConstants {
static const String inter = "Inter";
static const String hindMadurai = "Hind Madurai";
static const String mulish = "Mulish";
static const String openSans = "Open Sans";
}
class FontWeightManager {
......@@ -15,6 +16,7 @@ class FontWeightManager {
}
class FontSize {
static const double s10 = 10.0;
static const double s12 = 12.0;
static const double s14 = 14.0;
static const double s16 = 16.0;
......
......@@ -45,6 +45,7 @@ dev_dependencies:
flutter:
assets:
- assets/images/
- assets/icons/
fonts:
- family: Hind Madurai
fonts:
......@@ -73,6 +74,18 @@ flutter:
weight: 600
- asset: assets/fonts/mulish/Mulish-Bold.ttf
weight: 700
- family: Open Sans
fonts:
- asset: assets/fonts/open_sans/OpenSans-Light.ttf
weight: 300
- asset: assets/fonts/open_sans/OpenSans-Regular.ttf
weight: 400
- asset: assets/fonts/open_sans/OpenSans-Medium.ttf
weight: 500
- asset: assets/fonts/open_sans/OpenSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/open_sans/OpenSans-Bold.ttf
weight: 700
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment