pubspec.yaml.tmpl 2.46 KB
Newer Older
1 2
name: {{projectName}}
description: {{description}}
3 4 5 6
{{#withPluginHook}}
publish_to: 'none'
{{/withPluginHook}}
{{^withPluginHook}}
7

8 9 10 11 12 13 14
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.0+1
15
{{/withPluginHook}}
16

17 18 19
environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

20 21
dependencies:
  flutter:
22
    sdk: flutter
23

24 25
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
26
  cupertino_icons: ^0.1.2
27

28
dev_dependencies:
29 30 31
  flutter_test:
    sdk: flutter
{{#withDriverTest}}
32
  flutter_driver:
33
    sdk: flutter
34
{{/withDriverTest}}
35

36 37 38 39
{{#withPluginHook}}
  {{pluginProjectName}}:
    path: ../
{{/withPluginHook}}
40 41 42 43 44 45 46 47 48

# 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
49
  # the material Icons class.
50 51
  uses-material-design: true

52
  # To add assets to your application, add an assets section, like this:
53 54 55 56
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

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

60
  # For details regarding adding assets from package dependencies, see
61
  # https://flutter.io/assets-and-images/#from-packages
62

63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
  # 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
79
  #
80
  # For details regarding fonts from package dependencies,
81
  # see https://flutter.io/custom-fonts/#from-packages