flutter_ads_package 1.1.5 flutter_ads_package: ^1.1.5 copied to clipboard
A custom widget for displaying Clever Advertising ads in flutter/flutterflow.
A custom widget for displaying Clever Advertising ads in flutter/flutterflow.
Getting started #
Please check the 'installing' tab to get started with the package installation before proceeding into the next section.
Usage #
Import our package as shown in the example below:
import 'package:flutter_ads_package/flutter_ads_package.dart';
import 'package:flutter/material.dart';
void main() {
runApp( MaterialApp(
home: Scaffold(
backgroundColor: const Color.fromARGB(255, 199, 218, 228),
appBar: AppBar(
title: const Text("Clever Advertising Widget Example"),
),
body:
SingleChildScrollView(
child: Column(
children: [
const Text('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'),
CleverAddAppAdsWidget(scriptId: "INSERT SCRIPT ID HERE", width: 300, height: 250),
const Text('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.'),
],
),
),
),
),
);
}
Additional information #
Contact us for further inquiries.