shopify_pro_sdk 1.1.0 copy "shopify_pro_sdk: ^1.1.0" to clipboard
shopify_pro_sdk: ^1.1.0 copied to clipboard

Enterprise-grade Flutter SDK for Shopify Storefront API — products, collections, cart, checkout, customer auth, search, and GraphQL caching.

example/lib/main.dart

/// shopify_pro_sdk Example App entry point.
///
/// Developed and maintained by Abrar Ali — NEURALXCIPHER (PRIVATE) LIMITED
library;

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:shopify_pro_sdk/shopify_pro_sdk.dart';

import 'app.dart';
import 'shopify_providers.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Replace with your store credentials before running.
  final shopify = await ShopifyClient.init(
    config: ShopifyConfig(
      storeDomain: 'your-store.myshopify.com',
      storefrontAccessToken: 'your_storefront_access_token',
      logLevel: ShopifyLogLevel.debug,
    ),
  );

  runApp(
    ProviderScope(
      overrides: [shopifyClientProvider.overrideWithValue(shopify)],
      child: const ShopifyExampleApp(),
    ),
  );
}
0
likes
155
points
35
downloads

Documentation

API reference

Publisher

verified publisherneuralxcipher.com

Weekly Downloads

Enterprise-grade Flutter SDK for Shopify Storefront API — products, collections, cart, checkout, customer auth, search, and GraphQL caching.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#shopify #ecommerce #storefront #graphql #headless-commerce

License

MIT (license)

Dependencies

collection, connectivity_plus, flutter, flutter_secure_storage, http, logger, shared_preferences, uuid

More

Packages that depend on shopify_pro_sdk