pubspec.yaml.tmpl 1.92 KB
Newer Older
1 2
name: {{projectName}}
description: {{description}}
3

4 5
dependencies:
  flutter:
6
    sdk: flutter
7

8 9 10 11
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.0

12
dev_dependencies:
13 14 15
  flutter_test:
    sdk: flutter
{{#withDriverTest}}
16
  flutter_driver:
17
    sdk: flutter
18
{{/withDriverTest}}
19

20 21 22 23
{{#withPluginHook}}
  {{pluginProjectName}}:
    path: ../
{{/withPluginHook}}
24 25 26 27 28 29 30 31 32

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
33
  # the material Icons class.
34 35
  uses-material-design: true

36
  # To add assets to your application, add an assets section, like this:
37 38 39 40
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

41
  # An image asset can refer to one or more resolution-specific "variants", see
42
  # https://flutter.io/assets-and-images/#resolution-aware.
43

44
  # For details regarding adding assets from package dependencies, see
45
  # https://flutter.io/assets-and-images/#from-packages
46

47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
  # 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
63 64 65
  #
  # For details regarding fonts from package dependencies, 
  # see https://flutter.io/custom-fonts/#from-packages