veta_commerce_kit 0.1.0 copy "veta_commerce_kit: ^0.1.0" to clipboard
veta_commerce_kit: ^0.1.0 copied to clipboard

Commerce strategy contract + composable primitives — Veta-aware product / cart / checkout building blocks.

veta_commerce_kit #

Commerce strategy contract and primitives for Flutter product, cart, and checkout flows. It composes with veta_payments_kit instead of owning payment provider details.

Classification: service/data package. It has a strategy contract and Firebase adapter, but it is not a full Flutter flow kit until catalog/cart/order screens live in this package.

Install #

dependencies:
  veta_commerce_kit: ^0.0.0

For local monorepo development:

dependencies:
  veta_commerce_kit:
    path: ../veta_commerce_kit

Setup #

import 'package:veta_commerce_kit/veta_commerce_kit.dart';

final commerce = mockCommerceStrategy();

Public exports #

  • CommerceStrategy
  • Product, CartLine, Cart
  • mockCommerceStrategy

Keep payment collection in veta_payments_kit; commerce owns catalog/cart state and hands checkout totals to payments.

0
likes
140
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Commerce strategy contract + composable primitives — Veta-aware product / cart / checkout building blocks.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, veta_atoms, veta_foundations, veta_molecules, veta_payments_kit

More

Packages that depend on veta_commerce_kit