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

PlatformAndroidiOS
outdated

A Flutter package for adspostx. please visit https://ajithvgiri.gitbook.io/adpostx/v/flutter-sdk for more information .

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
130
points
102
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for adspostx. please visit https://ajithvgiri.gitbook.io/adpostx/v/flutter-sdk for more information .

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on adspostx