surgegrowth_flutter 0.0.1 surgegrowth_flutter: ^0.0.1 copied to clipboard
Revenue growth made easy for subscription apps. The plugin supports iOS and Android.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add surgegrowth_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
surgegrowth_flutter: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:surgegrowth_flutter/constants/call_methods.dart';
import 'package:surgegrowth_flutter/models/sg_customer.dart';
import 'package:surgegrowth_flutter/models/sg_customer.g.dart';
import 'package:surgegrowth_flutter/models/sg_entitlement.dart';
import 'package:surgegrowth_flutter/models/sg_entitlement.g.dart';
import 'package:surgegrowth_flutter/models/sg_gateway_product.dart';
import 'package:surgegrowth_flutter/models/sg_gateway_product.g.dart';
import 'package:surgegrowth_flutter/models/sg_offer_phase.dart';
import 'package:surgegrowth_flutter/models/sg_offer_phase.g.dart';
import 'package:surgegrowth_flutter/models/sg_offer_type.dart';
import 'package:surgegrowth_flutter/models/sg_one_time_purchases.dart';
import 'package:surgegrowth_flutter/models/sg_one_time_purchases.g.dart';
import 'package:surgegrowth_flutter/models/sg_paywall.dart';
import 'package:surgegrowth_flutter/models/sg_paywall.g.dart';
import 'package:surgegrowth_flutter/models/sg_paywall_product.dart';
import 'package:surgegrowth_flutter/models/sg_paywall_product.g.dart';
import 'package:surgegrowth_flutter/models/sg_subscription.dart';
import 'package:surgegrowth_flutter/models/sg_subscription.g.dart';
import 'package:surgegrowth_flutter/surgegrowth.dart';