pubspec.yaml.tmpl 1.54 KB
Newer Older
1 2 3 4 5 6
name: {{projectName}}
description: {{description}}
version: 0.0.1
author:
homepage:

7
environment:
8
  sdk: ">=2.1.0 <3.0.0"
9

10 11 12 13 14
dependencies:
  flutter:
    sdk: flutter

dev_dependencies:
15 16
  flutter_test:
    sdk: flutter
17 18 19 20
  {{#withDriverTest}}
  flutter_driver:
    sdk: flutter
  {{/withDriverTest}}
21 22

# For information on the generic Dart part of this file, see the
23
# following page: https://dart.dev/tools/pub/pubspec
24 25 26 27 28 29

# The following section is specific to Flutter.
flutter:

  # To add assets to your package, add an assets section, like this:
  # assets:
30 31
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg
32 33
  #
  # For details regarding assets in packages, see
34
  # https://flutter.dev/assets-and-images/#from-packages
35 36
  #
  # An image asset can refer to one or more resolution-specific "variants", see
37
  # https://flutter.dev/assets-and-images/#resolution-aware.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

  # To add custom fonts to your package, 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
  #
  # For details regarding fonts in packages, see
57
  # https://flutter.dev/custom-fonts/#from-packages