Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_inapp_purchase/flutter_inapp_purchase.dart';
class PremiumScreen extends StatefulWidget {
_PremiumScreenState createState() => _PremiumScreenState();
class _PremiumScreenState extends State<PremiumScreen> {
StreamSubscription _conectionSubscription;
List<IAPItem> _items = [];
List<PurchasedItem> _purchases = [];
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Container(),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment