veta_payments_kit 0.1.1 copy "veta_payments_kit: ^0.1.1" to clipboard
veta_payments_kit: ^0.1.1 copied to clipboard

Veta payments kit for Flutter — mirrors @vetaui/payments-kit strategy + mock checkout flows.

veta_payments_kit #

Flutter mirror of @vetaui/payments-kit: strategy-driven checkout, billing history, subscription screens, and payment-method UI.

Install #

dependencies:
  veta_payments_kit: ^0.0.0

For local monorepo development:

dependencies:
  veta_payments_kit:
    path: ../veta_payments_kit

Setup #

import 'package:veta_payments_kit/veta_payments_kit.dart';
import 'package:veta_foundations/veta_foundations.dart';

void main() {
  configureVetaKits(payments: mockPaymentsStrategy());
  runApp(const MyApp());
}

Public exports #

  • PaymentsStrategy, PaymentMethod, PaymentCharge, PaymentStatus
  • mockPaymentsStrategy
  • createCheckout, getCharge, getAvailablePaymentMethods
  • VetaCheckoutPage, VetaCheckoutForm, VetaBillingHistoryPage
  • VetaSubscriptionPage, VetaPaymentMethodSelector

Run dart pub publish --dry-run before publishing and keep api.snapshot.txt current through pnpm api:dart:check.

0
likes
130
points
8
downloads

Documentation

API reference

Publisher

verified publisherwasyra.com

Weekly Downloads

Veta payments kit for Flutter — mirrors @vetaui/payments-kit strategy + mock checkout flows.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, veta_atoms, veta_foundations, veta_molecules, veta_organisms

More

Packages that depend on veta_payments_kit