huawei_ads 13.4.35+300
huawei_ads: ^13.4.35+300 copied to clipboard

Flutter Android

HUAWEI Ads Kit plugin for Flutter utilizes Huawei's vast user base and extensive data capabilities to deliver targeted, high quality ad content to users.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  huawei_ads: ^13.4.35+300

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:huawei_ads/adslite/ad_param.dart';
import 'package:huawei_ads/adslite/ad_size.dart';
import 'package:huawei_ads/adslite/banner/banner_ad.dart';
import 'package:huawei_ads/adslite/banner/banner_ad_size.dart';
import 'package:huawei_ads/adslite/banner/banner_view.dart';
import 'package:huawei_ads/adslite/consent/ad_provider.dart';
import 'package:huawei_ads/adslite/consent/consent.dart';
import 'package:huawei_ads/adslite/hw_ads.dart';
import 'package:huawei_ads/adslite/instream/instream_ad.dart';
import 'package:huawei_ads/adslite/instream/instream_ad_loader.dart';
import 'package:huawei_ads/adslite/instream/instream_ad_view.dart';
import 'package:huawei_ads/adslite/instream/instream_ad_view_elements.dart';
import 'package:huawei_ads/adslite/interstitial/interstitial_ad.dart';
import 'package:huawei_ads/adslite/nativead/dislike_ad_reason.dart';
import 'package:huawei_ads/adslite/nativead/native_ad.dart';
import 'package:huawei_ads/adslite/nativead/native_ad_configuration.dart';
import 'package:huawei_ads/adslite/nativead/native_ad_controller.dart';
import 'package:huawei_ads/adslite/nativead/native_styles.dart';
import 'package:huawei_ads/adslite/request_options.dart';
import 'package:huawei_ads/adslite/reward/reward_ad.dart';
import 'package:huawei_ads/adslite/reward/reward_verify_config.dart';
import 'package:huawei_ads/adslite/splash/splash_ad.dart';
import 'package:huawei_ads/adslite/video_configuration.dart';
import 'package:huawei_ads/adslite/video_operator.dart';
import 'package:huawei_ads/hms_ads.dart';
import 'package:huawei_ads/hms_ads_lib.dart';
import 'package:huawei_ads/identifier/advertising_id_client.dart';
import 'package:huawei_ads/installreferrer/install_referrer_client.dart';
import 'package:huawei_ads/installreferrer/referrer_details.dart';
import 'package:huawei_ads/utils/bundle.dart';
import 'package:huawei_ads/utils/channels.dart';
import 'package:huawei_ads/utils/constants.dart';
import 'package:huawei_ads/utils/view_types.dart';
8
likes
70
pub points
71%
popularity

Publisher

developer.huawei.com

HUAWEI Ads Kit plugin for Flutter utilizes Huawei's vast user base and extensive data capabilities to deliver targeted, high quality ad content to users.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on huawei_ads