flutter_duit
95 строк · 3.9 Кб
1name: example
2description: 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.
5publish_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.
19version: 1.0.0+1
20
21environment:
22sdk: '>=3.1.4 <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`.
30dependencies:
31flutter:
32sdk: flutter
33flutter_duit:
34path: "../"
35
36
37# The following adds the Cupertino Icons font to your application.
38# Use with the CupertinoIcons class for iOS style icons.
39cupertino_icons: ^1.0.2
40duit_kernel: ^2.1.1
41
42dev_dependencies:
43flutter_test:
44sdk: flutter
45
46# The "flutter_lints" package below contains a set of recommended lints to
47# encourage good coding practices. The lint set provided by the package is
48# activated in the `analysis_options.yaml` file located at the root of your
49# package. See that file for information about deactivating specific lint
50# rules and activating additional ones.
51flutter_lints: ^2.0.0
52
53# For information on the generic Dart part of this file, see the
54# following page: https://dart.dev/tools/pub/pubspec
55
56# The following section is specific to Flutter packages.
57flutter:
58assets:
59- assets/
60
61# The following line ensures that the Material Icons font is
62# included with your application, so that you can use the icons in
63# the material Icons class.
64uses-material-design: true
65
66# To add assets to your application, add an assets section, like this:
67# assets:
68# - images/a_dot_burr.jpeg
69# - images/a_dot_ham.jpeg
70
71# An image asset can refer to one or more resolution-specific "variants", see
72# https://flutter.dev/assets-and-images/#resolution-aware
73
74# For details regarding adding assets from package dependencies, see
75# https://flutter.dev/assets-and-images/#from-packages
76
77# To add custom fonts to your application, add a fonts section here,
78# in this "flutter" section. Each entry in this list should have a
79# "family" key with the font family name, and a "fonts" key with a
80# list giving the asset and other descriptors for the font. For
81# example:
82# fonts:
83# - family: Schyler
84# fonts:
85# - asset: fonts/Schyler-Regular.ttf
86# - asset: fonts/Schyler-Italic.ttf
87# style: italic
88# - family: Trajan Pro
89# fonts:
90# - asset: fonts/TrajanPro.ttf
91# - asset: fonts/TrajanPro_Bold.ttf
92# weight: 700
93#
94# For details regarding fonts from package dependencies,
95# see https://flutter.dev/custom-fonts/#from-packages
96