monahawk_woocommerce 1.0.0 monahawk_woocommerce: ^1.0.0 copied to clipboard
Woocommerce SDK for Flutter. The Complete Woo Commerce SDK for building Flutter Ecommerce Applications with amazing features.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add monahawk_woocommerce
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
monahawk_woocommerce: ^1.0.0
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:monahawk_woocommerce/constants/constants.dart';
import 'package:monahawk_woocommerce/generated/i18n.dart';
import 'package:monahawk_woocommerce/models/cart.dart';
import 'package:monahawk_woocommerce/models/cart_item.dart';
import 'package:monahawk_woocommerce/models/coupon.dart';
import 'package:monahawk_woocommerce/models/customer.dart';
import 'package:monahawk_woocommerce/models/customer_download.dart';
import 'package:monahawk_woocommerce/models/jwt_response.dart';
import 'package:monahawk_woocommerce/models/order.dart';
import 'package:monahawk_woocommerce/models/order_payload.dart';
import 'package:monahawk_woocommerce/models/payment_gateway.dart';
import 'package:monahawk_woocommerce/models/product_attribute_term.dart';
import 'package:monahawk_woocommerce/models/product_attributes.dart';
import 'package:monahawk_woocommerce/models/product_category.dart';
import 'package:monahawk_woocommerce/models/product_review.dart';
import 'package:monahawk_woocommerce/models/product_shipping_class.dart';
import 'package:monahawk_woocommerce/models/product_tag.dart';
import 'package:monahawk_woocommerce/models/product_variation.dart';
import 'package:monahawk_woocommerce/models/products.dart';
import 'package:monahawk_woocommerce/models/shipping_method.dart';
import 'package:monahawk_woocommerce/models/shipping_zone.dart';
import 'package:monahawk_woocommerce/models/shipping_zone_location.dart';
import 'package:monahawk_woocommerce/models/shipping_zone_method.dart';
import 'package:monahawk_woocommerce/models/tax_classes.dart';
import 'package:monahawk_woocommerce/models/tax_rate.dart';
import 'package:monahawk_woocommerce/models/user.dart';
import 'package:monahawk_woocommerce/utilities/local_db.dart';
import 'package:monahawk_woocommerce/woocommerce.dart';
import 'package:monahawk_woocommerce/woocommerce_error.dart';