sebads 0.1.9 copy "sebads: ^0.1.9" to clipboard
sebads: ^0.1.9 copied to clipboard

Lightweight Flutter ads SDK for GraphQL-backed ad delivery and tracking.

example/lib/main.dart

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

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await SebAds.init(
    appId: 'your-app-id',
    endpoint: 'https://your-graphql-endpoint',
  );
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: AdView(
            format: AdFormat.square,
            width: 300,
            height: 300,
          ),
        ),
      ),
    );
  }
}
0
likes
125
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight Flutter ads SDK for GraphQL-backed ad delivery and tracking.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter, http, shared_preferences, url_launcher, uuid

More

Packages that depend on sebads