whistle_feed 1.0.8 copy "whistle_feed: ^1.0.8" to clipboard
whistle_feed: ^1.0.8 copied to clipboard

outdated

Whistle Feed Sdk Provides a Developer EASE of Integrating to Whistle feed Adds Into Flutter Applications

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:whistle_feed/listeners/myadshow_listener.dart';
import 'package:whistle_feed/whistle_feed.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  MyappState createState() => MyappState();
}

class MyappState extends State<MyApp> {
  MyAdShowListener adShowListener = MyAdShowListener();

  /// you can use your event listeners for adds

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Column(
          children: [
            SizedBox(
              height: 100,
            ),
            Container(
              child: WhistleFeed(
                // Calling whistlefeed widget inside any column row or container
                // Passing pencil size and publisher token
                // publisher token must be valid get it from the publisher website mentioned in README file.
                pencilsize: 1,

                /// number of Ad cubes
                publishertoken: 'YOUR_PUBLISHER_TOKEN',

                /// add your publisher  token here
                adShowListener: adShowListener,

                /// passing the listeners
              ), /////live////
            )
          ],
        ),
      ),
    );
  }
}
4
likes
0
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

Whistle Feed Sdk Provides a Developer EASE of Integrating to Whistle feed Adds Into Flutter Applications

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, http, package_info_plus, url_launcher

More

Packages that depend on whistle_feed