interactive_media_ads 0.0.1+3
interactive_media_ads: ^0.0.1+3 copied to clipboard
A Flutter plugin for using the Interactive Media Ads SDKs on Android and iOS.
example/lib/main.dart
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
/// Entry point for integration tests that require espresso.
@pragma('vm:entry-point')
void integrationTestMain() {
enableFlutterDriverExtension();
main();
}
void main() {
runApp(const MyApp());
}
/// Home widget of the example app.
class MyApp extends StatefulWidget {
/// Constructs [MyApp].
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
debugPrint('THEAPP');
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Running on: $defaultTargetPlatform'),
),
),
);
}
}
copied to clipboard