|
| 1 | +name: example |
| 2 | +description: "A new Flutter project." |
| 3 | +# The following line prevents the package from being accidentally published to |
| 4 | +# pub.dev using `flutter pub publish`. This is preferred for private packages. |
| 5 | +publish_to: 'none' # Remove this line if you wish to publish to pub.dev |
| 6 | + |
| 7 | +# The following defines the version and build number for your application. |
| 8 | +# A version number is three numbers separated by dots, like 1.2.43 |
| 9 | +# followed by an optional build number separated by a +. |
| 10 | +# Both the version and the builder number may be overridden in flutter |
| 11 | +# build by specifying --build-name and --build-number, respectively. |
| 12 | +# In Android, build-name is used as versionName while build-number used as versionCode. |
| 13 | +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning |
| 14 | +# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. |
| 15 | +# Read more about iOS versioning at |
| 16 | +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html |
| 17 | +# In Windows, build-name is used as the major, minor, and patch parts |
| 18 | +# of the product and file versions while build-number is used as the build suffix. |
| 19 | +version: 1.0.0+1 |
| 20 | + |
| 21 | +environment: |
| 22 | + sdk: '>=3.2.3 <4.0.0' |
| 23 | + |
| 24 | +# Dependencies specify other packages that your package needs in order to work. |
| 25 | +# To automatically upgrade your package dependencies to the latest versions |
| 26 | +# consider running `flutter pub upgrade --major-versions`. Alternatively, |
| 27 | +# dependencies can be manually updated by changing the version numbers below to |
| 28 | +# the latest version available on pub.dev. To see which dependencies have newer |
| 29 | +# versions available, run `flutter pub outdated`. |
| 30 | +dependencies: |
| 31 | + flutter: |
| 32 | + sdk: flutter |
| 33 | + awesome_snackbar_content: |
| 34 | + path: ../ |
| 35 | + |
| 36 | + # The following adds the Cupertino Icons font to your application. |
| 37 | + # Use with the CupertinoIcons class for iOS style icons. |
| 38 | + cupertino_icons: ^1.0.2 |
| 39 | + |
| 40 | +dev_dependencies: |
| 41 | + flutter_test: |
| 42 | + sdk: flutter |
| 43 | + |
| 44 | + # The "flutter_lints" package below contains a set of recommended lints to |
| 45 | + # encourage good coding practices. The lint set provided by the package is |
| 46 | + # activated in the `analysis_options.yaml` file located at the root of your |
| 47 | + # package. See that file for information about deactivating specific lint |
| 48 | + # rules and activating additional ones. |
| 49 | + flutter_lints: ^2.0.0 |
| 50 | + |
| 51 | +# For information on the generic Dart part of this file, see the |
| 52 | +# following page: https://dart.dev/tools/pub/pubspec |
| 53 | + |
| 54 | +# The following section is specific to Flutter packages. |
| 55 | +flutter: |
| 56 | + |
| 57 | + # The following line ensures that the Material Icons font is |
| 58 | + # included with your application, so that you can use the icons in |
| 59 | + # the material Icons class. |
| 60 | + uses-material-design: true |
| 61 | + |
| 62 | + # To add assets to your application, add an assets section, like this: |
| 63 | + # assets: |
| 64 | + # - images/a_dot_burr.jpeg |
| 65 | + # - images/a_dot_ham.jpeg |
| 66 | + |
| 67 | + # An image asset can refer to one or more resolution-specific "variants", see |
| 68 | + # https://flutter.dev/to/resolution-aware-images |
| 69 | + |
| 70 | + # For details regarding adding assets from package dependencies, see |
| 71 | + # https://flutter.dev/to/asset-from-package |
| 72 | + |
| 73 | + # To add custom fonts to your application, add a fonts section here, |
| 74 | + # in this "flutter" section. Each entry in this list should have a |
| 75 | + # "family" key with the font family name, and a "fonts" key with a |
| 76 | + # list giving the asset and other descriptors for the font. For |
| 77 | + # example: |
| 78 | + # fonts: |
| 79 | + # - family: Schyler |
| 80 | + # fonts: |
| 81 | + # - asset: fonts/Schyler-Regular.ttf |
| 82 | + # - asset: fonts/Schyler-Italic.ttf |
| 83 | + # style: italic |
| 84 | + # - family: Trajan Pro |
| 85 | + # fonts: |
| 86 | + # - asset: fonts/TrajanPro.ttf |
| 87 | + # - asset: fonts/TrajanPro_Bold.ttf |
| 88 | + # weight: 700 |
| 89 | + # |
| 90 | + # For details regarding fonts from package dependencies, |
| 91 | + # see https://flutter.dev/to/font-from-package |
0 commit comments