Add Cupertino icon fonts helper and dependency for default template (#12559)

* add CupertinoIcons

* Use new font name convention

* review
This commit is contained in:
xster
2017-10-16 18:59:28 -07:00
committed by GitHub
parent ad72c78342
commit 9ce3ba314e
3 changed files with 68 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.0
dev_dependencies:
flutter_test:
sdk: flutter
@@ -26,7 +30,7 @@ flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the Icons class.
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
@@ -39,7 +43,7 @@ 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