dktech_ads 1.0.3 dktech_ads: ^1.0.3 copied to clipboard
This is admob ad library on flutter This is admob ad library on flutter
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dktech_ads
With Flutter:
$ flutter pub add dktech_ads
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dktech_ads: ^1.0.3
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:dktech_ads/ads_manager.dart';
import 'package:dktech_ads/ads_utils/admob_utils.dart';
import 'package:dktech_ads/ads_utils/consent_manager.dart';
import 'package:dktech_ads/ads_utils/holder/banner_holder.dart';
import 'package:dktech_ads/ads_utils/holder/inter_holder.dart';
import 'package:dktech_ads/ads_utils/holder/native_holder.dart';
import 'package:dktech_ads/ads_utils/holder/reward_holder.dart';
import 'package:dktech_ads/ads_utils/type/banner_collapsible_type.dart';
import 'package:dktech_ads/ads_utils/type/native_type.dart';
import 'package:dktech_ads/ads_utils/view/placeholders.dart';
import 'package:dktech_ads/ads_utils/view/shimmer/banner_shimmer.dart';
import 'package:dktech_ads/ads_utils/view/shimmer/native_shimmer.dart';
import 'package:dktech_ads/main.dart';
import 'package:dktech_ads/screen2.dart';