flutter_ad_new 0.0.1 flutter_ad_new: ^0.0.1 copied to clipboard
flutter plugin with ad
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_ad_new
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_ad_new: ^0.0.1
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:flutter_ad_new/entity/ad_event.dart';
import 'package:flutter_ad_new/flutter_ad.dart';
import 'package:flutter_ad_new/flutter_ad_method_channel.dart';
import 'package:flutter_ad_new/flutter_ad_platform_interface.dart';
import 'package:flutter_ad_new/flutter_plugin_ad.dart';
import 'package:flutter_ad_new/view/banner_ad_widget.dart';