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

7
environment:
8
  sdk: ">=2.7.0 <3.0.0"
9
  flutter: ">=1.17.0 <2.0.0"
10

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

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

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

# The following section is specific to Flutter.
flutter:

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

  # 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
58
  # https://flutter.dev/custom-fonts/#from-packages