yandexads-flutter
84 строки · 3.2 Кб
1name: flutter_yandex_ads_example
2description: Demonstrates how to use the flutter_yandex_ads plugin.
3
4# The following line prevents the package from being accidentally published to
5# pub.dev using `flutter pub publish`. This is preferred for private packages.
6publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7
8environment:
9sdk: ">=2.16.1 <4.0.0"
10
11# Dependencies specify other packages that your package needs in order to work.
12# To automatically upgrade your package dependencies to the latest versions
13# consider running `flutter pub upgrade --major-versions`. Alternatively,
14# dependencies can be manually updated by changing the version numbers below to
15# the latest version available on pub.dev. To see which dependencies have newer
16# versions available, run `flutter pub outdated`.
17dependencies:
18flutter:
19sdk: flutter
20
21flutter_yandex_ads:
22# When depending on this package from a real application you should use:
23# flutter_yandex_ads: ^x.y.z
24# See https://dart.dev/tools/pub/dependencies#version-constraints
25# The example app is bundled with the plugin so we use a path dependency on
26# the parent directory to use the current plugin's version.
27path: ../
28
29# The following adds the Cupertino Icons font to your application.
30# Use with the CupertinoIcons class for iOS style icons.
31cupertino_icons: ^1.0.2
32
33dev_dependencies:
34flutter_test:
35sdk: flutter
36
37# The "flutter_lints" package below contains a set of recommended lints to
38# encourage good coding practices. The lint set provided by the package is
39# activated in the `analysis_options.yaml` file located at the root of your
40# package. See that file for information about deactivating specific lint
41# rules and activating additional ones.
42flutter_lints: ^1.0.0
43
44# For information on the generic Dart part of this file, see the
45# following page: https://dart.dev/tools/pub/pubspec
46
47# The following section is specific to Flutter.
48flutter:
49
50# The following line ensures that the Material Icons font is
51# included with your application, so that you can use the icons in
52# the material Icons class.
53uses-material-design: true
54
55# To add assets to your application, add an assets section, like this:
56# assets:
57# - images/a_dot_burr.jpeg
58# - images/a_dot_ham.jpeg
59
60# An image asset can refer to one or more resolution-specific "variants", see
61# https://flutter.dev/assets-and-images/#resolution-aware.
62
63# For details regarding adding assets from package dependencies, see
64# https://flutter.dev/assets-and-images/#from-packages
65
66# To add custom fonts to your application, add a fonts section here,
67# in this "flutter" section. Each entry in this list should have a
68# "family" key with the font family name, and a "fonts" key with a
69# list giving the asset and other descriptors for the font. For
70# example:
71# fonts:
72# - family: Schyler
73# fonts:
74# - asset: fonts/Schyler-Regular.ttf
75# - asset: fonts/Schyler-Italic.ttf
76# style: italic
77# - family: Trajan Pro
78# fonts:
79# - asset: fonts/TrajanPro.ttf
80# - asset: fonts/TrajanPro_Bold.ttf
81# weight: 700
82#
83# For details regarding fonts from package dependencies,
84# see https://flutter.dev/custom-fonts/#from-packages
85