flutter_app_pay 0.0.5
flutter_app_pay: ^0.0.5 copied to clipboard
Modular in-app purchase SDK for Flutter. Provides a unified API for Google Play, App Store, and RuStore billing through separate provider plugins. Includes entitlement management, server-side receipt [...]
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:flutter_app_pay/flutter_app_pay.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
),
),
);
}
}