Skip to content

Commit fd6b9c7

Browse files
authored
Update pubspec.yaml.tmpl (flutter#12031)
Update to reflect flutter#11751 and flutter/website#663
1 parent e5aead0 commit fd6b9c7

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

packages/flutter_tools/templates/create/pubspec.yaml.tmpl

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,9 @@ flutter:
3737
# An image asset can refer to one or more resolution-specific "variants", see
3838
# https://flutter.io/assets-and-images/.
3939

40-
# To add assets from package dependencies, first ensure the asset
41-
# is in the lib/ directory of the dependency. Then,
42-
# refer to the asset with a path prefixed with
43-
# `packages/PACKAGE_NAME/`. The `lib/` is implied, do not
44-
# include `lib/` in the asset path.
45-
#
46-
# Here is an example:
47-
#
48-
# assets:
49-
# - packages/PACKAGE_NAME/path/to/asset
50-
40+
# For details regarding adding assets from package dependencies, see
41+
# https://flutter.io/assets-and-images/
42+
5143
# To add custom fonts to your application, add a fonts section here,
5244
# in this "flutter" section. Each entry in this list should have a
5345
# "family" key with the font family name, and a "fonts" key with a

0 commit comments

Comments
 (0)