qonversion_flutter 9.1.4 qonversion_flutter: ^9.1.4 copied to clipboard
Flutter plugin to implement in-app subscriptions and purchases. Validate user receipts and manage cross-platform access to paid content on your app. Android & iOS.
import 'package:flutter/material.dart';
import 'home.dart';
import 'params_view.dart';
import 'products_view.dart';
import 'dart:async';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(SampleApp());
}
/// Entry point for the example application.
class SampleApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
initialRoute: '/',
routes: {
'/': (_) => HomeView(),
'products': (_) => ProductsView(),
'params': (_) => ParamsView()
},
);
}
}