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

6
environment:
7
  sdk: {{dartSdkVersionBounds}}
8
  flutter: ">=1.17.0"
9

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

dev_dependencies:
15 16
  flutter_test:
    sdk: flutter
17
  flutter_lints: ^2.0.0
18 19

# For information on the generic Dart part of this file, see the
20
# following page: https://dart.dev/tools/pub/pubspec
21

22
# The following section is specific to Flutter packages.
23 24 25 26
flutter:

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

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