flutter_applovin 0.0.1 copy "flutter_applovin: ^0.0.1" to clipboard
flutter_applovin: ^0.0.1 copied to clipboard

A new Flutter applovin plugin.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_applovin/flutter_applovin.dart';

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';

  @override
  initState() {
    super.initState();
    FlutterApplovin.loadInterstitial;
  }

  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text('Plugin example app'),
        ),
        body: new Center(
          child: new RaisedButton(
            onPressed: () {
              FlutterApplovin.showInterstitial;
            },
            child: new Text("showAd"),
          ),
        ),
      ),
    );
  }
}
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter applovin plugin.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_applovin