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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_canvas_woocommerce/flutter_canvas_woocommerce.dart';

import 'home.dart';

void main() async {
  runApp(const MyApp());
  await FlutterCanvasWooCommerce.instance.init(
      baseUrl: 'your site url',
      consumerKey: 'your consumer key',
      consumerSecret: 'your consumer secrete');
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Canvas WooCommerce API Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Home(),
    );
  }
}
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