yandex_mobileads_v2 1.1.0 yandex_mobileads_v2: ^1.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 Flutter:
$ flutter pub add yandex_mobileads_v2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
yandex_mobileads_v2: ^1.1.0
Alternatively, your editor might support 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_v2/ad.dart';
import 'package:yandex_mobileads_v2/ad_info.dart';
import 'package:yandex_mobileads_v2/ad_location.dart';
import 'package:yandex_mobileads_v2/ad_request.dart';
import 'package:yandex_mobileads_v2/ad_request_configuration.dart';
import 'package:yandex_mobileads_v2/ad_request_error_code.dart';
import 'package:yandex_mobileads_v2/ad_size.dart';
import 'package:yandex_mobileads_v2/ad_theme.dart';
import 'package:yandex_mobileads_v2/appopenad/app_open_ad.dart';
import 'package:yandex_mobileads_v2/appopenad/app_open_ad_listener.dart';
import 'package:yandex_mobileads_v2/appopenad/app_open_ad_load_listener.dart';
import 'package:yandex_mobileads_v2/appopenad/app_open_ad_loader.dart';
import 'package:yandex_mobileads_v2/banner/banner_ad.dart';
import 'package:yandex_mobileads_v2/banner/banner_ad_size.dart';
import 'package:yandex_mobileads_v2/events/banner_ad_event_listener.dart';
import 'package:yandex_mobileads_v2/events/callback_name.dart';
import 'package:yandex_mobileads_v2/events/error.dart';
import 'package:yandex_mobileads_v2/events/fullscreen_callback_name.dart';
import 'package:yandex_mobileads_v2/events/fullscreen_event_listener.dart';
import 'package:yandex_mobileads_v2/fullscreen_ad.dart';
import 'package:yandex_mobileads_v2/fullscreen_ad_loader.dart';
import 'package:yandex_mobileads_v2/impression_data.dart';
import 'package:yandex_mobileads_v2/interstitial/interstitial_ad.dart';
import 'package:yandex_mobileads_v2/interstitial/interstitial_ad_event_listener.dart';
import 'package:yandex_mobileads_v2/interstitial/interstitial_ad_load_listener.dart';
import 'package:yandex_mobileads_v2/interstitial/interstitial_ad_loader.dart';
import 'package:yandex_mobileads_v2/mobile_ads.dart';
import 'package:yandex_mobileads_v2/platform/android_interface.dart';
import 'package:yandex_mobileads_v2/platform/ios_interface.dart';
import 'package:yandex_mobileads_v2/platform/platform_interface.dart';
import 'package:yandex_mobileads_v2/rewarded/reward.dart';
import 'package:yandex_mobileads_v2/rewarded/rewarded_ad.dart';
import 'package:yandex_mobileads_v2/rewarded/rewarded_ad_event_listener.dart';
import 'package:yandex_mobileads_v2/rewarded/rewarded_ad_load_listener.dart';
import 'package:yandex_mobileads_v2/rewarded/rewarded_ad_loader.dart';
import 'package:yandex_mobileads_v2/simple_impression_data.dart';