adapty_flutter 2.10.3 copy "adapty_flutter: ^2.10.3" to clipboard
adapty_flutter: ^2.10.3 copied to clipboard

Adapty SDK is an open-source framework that makes implementing in-app subscriptions in Flutter applications fast and easy. It’s 100% open-source and lightweight.

example/lib/main.dart

import 'package:adapty_flutter_example/purchase_observer.dart';
import 'package:flutter/cupertino.dart';

import 'screens/main_screen.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    PurchasesObserver().initialize();

    super.initState();
  }

  Widget build(BuildContext context) {
    return CupertinoApp(
      theme: CupertinoThemeData(
        brightness: Brightness.light,
        scaffoldBackgroundColor: CupertinoColors.systemGroupedBackground,
      ),
      home: MainScreen(),
    );
  }
}
88
likes
0
points
7.85k
downloads

Publisher

verified publisheradapty.io

Weekly Downloads

Adapty SDK is an open-source framework that makes implementing in-app subscriptions in Flutter applications fast and easy. It’s 100% open-source and lightweight.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, meta

More

Packages that depend on adapty_flutter