paysheet

A lightweight, styling-only paysheet widget for Flutter apps. This package provides a minimal bottom-sheet paysheet UI intended for SDK / merchant integration where the host app handles payment interactions.

Features

  • Stylized paysheet layout with merchant header and summary list
  • Lightweight showLpePaysheet API
  • Optional onPay callback so app builders can hook their payment flow
  • Example app included

Quick example

await showLpePaysheet(
  context,
  publishableKey: 'pk_test_xxx',
  method: 'card',
  amount: '9.99',
  onPay: () async {
    // call your server or stripe integration here
  },
);

Publishing notes

  1. Update pubspec.yaml metadata (version, description, authors, homepage).
  2. Remove publish_to: 'none' if present.
  3. Test example with flutter run.
  4. Run dart pub publish --dry-run to validate.

License

MIT — see the LICENSE file.

Author

The Learmond Corporation

Libraries

main
paysheet
Public package entrypoint for paysheet. Exports the internal paysheet implementation for consumers.