incomme_flutter_commerce 0.0.7 copy "incomme_flutter_commerce: ^0.0.7" to clipboard
incomme_flutter_commerce: ^0.0.7 copied to clipboard

INCOMME FLUTTER SDK applications

Incomme Logo

πŸ›’ INCOMME FLUTTER COMMERCE PLUGIN

Seamlessly integrate INCOMME ECOMMERCE SDK into your FLUTTER apps
Build, customize, and launch ecommerce experiences directly inside your Android or iOS application.

pub version License Flutter


✨ Features #

  • πŸ”Œ Seamless connection to the Incomme ecommerce backend
  • πŸ›οΈ Display product listings, categories, and detailed views
  • 🧺 Cart management: add, remove, and update items
  • πŸ’³ Checkout and payment flows
  • πŸ“¦ Order tracking and user activity insights
  • πŸ”„ Cross-platform support for Android and iOS

πŸš€ Getting Started #

1. Add the dependency #

Add the plugin to your pubspec.yaml:

dependencies:
  incomme_flutter_commerce: ^0.0.7

Then run:

flutter pub get

2. Import the package #

import 'package:incomme_flutter_commerce/incomme_flutter_commerce.dart';

3. Initialize the SDK #

Before using any commerce features, initialize the SDK with your API key and environment:

IncommeCommerce.init(
  apiKey: 'your_api_key_here',
  environment: Environment.sandbox, // or Environment.production
);

4. Use Ecommerce Features #

You can now embed ecommerce experiences into your app:

// Example: Open the product list screen
IncommeCommerce.showProductList(context);

For more advanced usage and sample apps, see the example/ directory.


πŸ“± Platform Support #

Platform Supported
Android βœ…
iOS βœ…
Web ❌ (coming soon)

βš™οΈ Example Use Case #

Embed an ecommerce flow in your Flutter app:

ElevatedButton(
  onPressed: () {
    IncommeCommerce.showProductList(context);
  },
  child: const Text('Shop Now'),
);

You can also integrate checkout, order history, and custom cart widgets through the provided SDK methods.


🧰 Running using FVM #

To ensure consistency across Flutter SDK versions:

dart pub global activate fvm
fvm global 3.35.5

πŸ“š Documentation #

Full documentation and guides are available on:

πŸ”— pub.flutter-io.cn β†’ incomme_flutter_commerce


πŸ› οΈ Contributing #

Contributions are welcome! πŸŽ‰
If you’d like to report bugs, suggest features, or submit pull requests:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/awesome-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/awesome-feature)
  5. Open a Pull Request

πŸ“„ License #

This project is licensed under the MIT License.
See the LICENSE file for more details.


Made with ❀️ by Incomme