Skip to content

Instantly share code, notes, and snippets.

@rpsnaik
Created October 8, 2019 18:53
Show Gist options
  • Save rpsnaik/e7e28b5581b0c168901ebb7896e0c7ca to your computer and use it in GitHub Desktop.
Save rpsnaik/e7e28b5581b0c168901ebb7896e0c7ca to your computer and use it in GitHub Desktop.
# To add assets to your application, add an assets section, like this:
assets:
- images/spotify_logo_banner_black.png
- images/spotify_logo_title.png
- images/spotify_logo_vertical_black.jpg
- images/spotify_logo.jpg
- images/spotify_smaller.png
- images/Spotify_logo_horizontal_black.jpg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/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: Proxima Nova
fonts:
- asset: fonts/Proxima Nova/Proxima Nova Regular.ttf
- family: Proxima Nova Bold
fonts:
- asset: fonts/Proxima Nova/Proxima Nova Bold.ttf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment