knt_base_monetized 3.0.1 copy "knt_base_monetized: ^3.0.1" to clipboard
knt_base_monetized: ^3.0.1 copied to clipboard

Helper blocs for handling common in-app-purchase flow

example/lib/main.dart

import 'package:flutter/material.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Knt Monetized Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Knt Monetized Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: const Center(
        child: SizedBox(),
      ),
    );
  }
}
0
likes
130
pub points
3%
popularity

Publisher

verified publisherappixi.net

Helper blocs for handling common in-app-purchase flow

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, knt_bloc, meta

More

Packages that depend on knt_base_monetized