yandex_mobileads 7.1.0 yandex_mobileads: ^7.1.0 copied to clipboard
Flutter plugin for Yandex Mobile Ads SDK. This plugin allows Flutter developers to easily integrate Yandex Mobile Ads SDK on Android and iOS apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add yandex_mobileads
With Flutter:
$ flutter pub add yandex_mobileads
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
yandex_mobileads: ^7.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:yandex_mobileads/ad.dart';
import 'package:yandex_mobileads/ad_info.dart';
import 'package:yandex_mobileads/ad_location.dart';
import 'package:yandex_mobileads/ad_request.dart';
import 'package:yandex_mobileads/ad_request_configuration.dart';
import 'package:yandex_mobileads/ad_request_error_code.dart';
import 'package:yandex_mobileads/ad_size.dart';
import 'package:yandex_mobileads/ad_theme.dart';
import 'package:yandex_mobileads/appopenad/app_open_ad.dart';
import 'package:yandex_mobileads/appopenad/app_open_ad_listener.dart';
import 'package:yandex_mobileads/appopenad/app_open_ad_load_listener.dart';
import 'package:yandex_mobileads/appopenad/app_open_ad_loader.dart';
import 'package:yandex_mobileads/banner/banner_ad.dart';
import 'package:yandex_mobileads/banner/banner_ad_size.dart';
import 'package:yandex_mobileads/events/banner_ad_event_listener.dart';
import 'package:yandex_mobileads/events/callback_name.dart';
import 'package:yandex_mobileads/events/error.dart';
import 'package:yandex_mobileads/events/fullscreen_callback_name.dart';
import 'package:yandex_mobileads/events/fullscreen_event_listener.dart';
import 'package:yandex_mobileads/fullscreen_ad.dart';
import 'package:yandex_mobileads/fullscreen_ad_loader.dart';
import 'package:yandex_mobileads/impression_data.dart';
import 'package:yandex_mobileads/interstitial/interstitial_ad.dart';
import 'package:yandex_mobileads/interstitial/interstitial_ad_event_listener.dart';
import 'package:yandex_mobileads/interstitial/interstitial_ad_load_listener.dart';
import 'package:yandex_mobileads/interstitial/interstitial_ad_loader.dart';
import 'package:yandex_mobileads/mobile_ads.dart';
import 'package:yandex_mobileads/platform/android_interface.dart';
import 'package:yandex_mobileads/platform/ios_interface.dart';
import 'package:yandex_mobileads/platform/platform_interface.dart';
import 'package:yandex_mobileads/rewarded/reward.dart';
import 'package:yandex_mobileads/rewarded/rewarded_ad.dart';
import 'package:yandex_mobileads/rewarded/rewarded_ad_event_listener.dart';
import 'package:yandex_mobileads/rewarded/rewarded_ad_load_listener.dart';
import 'package:yandex_mobileads/rewarded/rewarded_ad_loader.dart';
import 'package:yandex_mobileads/simple_impression_data.dart';