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
showLpePaysheetAPI - Optional
onPaycallback 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
- Update
pubspec.yamlmetadata (version, description, authors, homepage). - Remove
publish_to: 'none'if present. - Test example with
flutter run. - Run
dart pub publish --dry-runto validate.
License
MIT — see the LICENSE file.
Author
The Learmond Corporation