flutter_canvas_woocommerce 0.0.2 copy "flutter_canvas_woocommerce: ^0.0.2" to clipboard
flutter_canvas_woocommerce: ^0.0.2 copied to clipboard

A new Flutter package that helps Communicate with WooCommerce APIs independently.

Flutter Canvas WooCommerce API #

A Flutter package that helps in communicating with WooCommerce APIs, developed by fluttercanvas.io.

Getting Started #

To use this package, follow these steps:

  1. Obtain WooCommerce Consumer Secret and Key with Domain URL:

    • In your main.dart file, initialize a FlutterCanvasWooCommerce instance using the init function.

    • Pass the key, secret, and URL in the init function as follows:

      FlutterCanvasWooCommerce.instance.init(
        url: 'your_domain_url',
        consumerKey: 'your_consumerKey',
        consumerSecret: 'your_consumerSecret'
      );
      
  2. Using the API in Your Project:

    • For example, to fetch products, you can implement it as follows:

      FlutterCanvasWooCommerce.instance.fetchProducts(pageNumber: 1, perPage: 15);
      

    Make sure to replace 'your_domain_url', 'your_consumerKey', and 'your_consumerSecret' with your actual WooCommerce domain URL, consumer key, and consumer secret respectively.

1
likes
130
pub points
0%
popularity

Publisher

verified publisherfluttercanvas.io

A new Flutter package that helps Communicate with WooCommerce APIs independently.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on flutter_canvas_woocommerce