incomme_flutter_commerce 0.0.7
incomme_flutter_commerce: ^0.0.7 copied to clipboard
INCOMME FLUTTER SDK applications
π 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.
β¨ 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:
- Fork the repository
- Create your feature branch (
git checkout -b feature/awesome-feature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/awesome-feature) - Open a Pull Request
π License #
This project is licensed under the MIT License.
See the LICENSE file for more details.
Made with β€οΈ by Incomme