adspostx 3.0.2 copy "adspostx: ^3.0.2" to clipboard
adspostx: ^3.0.2 copied to clipboard

The Adspostx Flutter package enables you to integrate Adspostx into your native Android mobile apps to drive more value from—and for—your customers. The SDK is built to be lightweight, secure, and sim [...]

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: TestPage(),
    );
  }
}

class TestPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("Test")),
      body: Container(
        child: Center(
          child: ElevatedButton(
            onPressed: () {
              Adspostx.show(context: context);
            },
            child: Text("Open Dialog"),
          ),
        ),
      ),
    );
  }
}
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

The Adspostx Flutter package enables you to integrate Adspostx into your native Android mobile apps to drive more value from—and for—your customers. The SDK is built to be lightweight, secure, and simple to integrate and maintain, resulting in minimal lift for your engineering team.

Homepage

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, webview_flutter

More

Packages that depend on adspostx