Added font awesome as dependency, modified pubspec to recongnized installed fonts

This commit is contained in:
Mariano Uvalle 2019-03-07 21:57:21 -06:00
parent cc8577ca6f
commit 40d6319af2
6 changed files with 14 additions and 20 deletions

View file

@ -25,6 +25,7 @@ dependencies:
firebase_core: ^0.3.0
firebase_ml_vision: ^0.6.0
firebase_storage: ^2.0.1
font_awesome_flutter: ^8.4.0
google_sign_in: ^4.0.1+1
http: ^0.12.0
image_picker: ^0.5.0+3
@ -43,7 +44,19 @@ dev_dependencies:
# The following section is specific to Flutter.
flutter:
fonts:
- family: IBM Plex Sans
fonts:
- asset: assets/fonts/IBMPlexSans-Regular.ttf
weight: 400
- asset: assets/fonts/IBMPlexSans-Medium.ttf
weight: 500
- asset: assets/fonts/IBMPlexSans-Light.ttf
weight: 300
- asset: assets/fonts/IBMPlexSans-Bold.ttf
weight: 700
- asset: assets/fonts/IBMPlexSans-SemiBold.ttf
weight: 600
# 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.
@ -60,22 +73,3 @@ flutter:
# For details regarding adding assets from package dependencies, see
# https://flutter.io/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.io/custom-fonts/#from-packages