Flutter Basqet
This package makes it easy to use the Basqet in your flutter project.
📸 Screen Shots
How to Use plugin
import 'package:flutter_basqet/flutter_basqet.dart';
BasqetFlutter.launchBasqet(
context,
publicKey: '<public_test_key|public_prod_key>',
email: 'example@gmail.com',
description: 'urgent 2k in crypto',
currency: "ngn",
amount: "2000",
onClose: () {
print("modal closed");
},
onSuccess: (code) {
print(code);
Navigator.of(context).pop();
},
onError: (error) {
print(error);
print("on error");
},
);
The Transaction JSON returned for successful events
bq_<reference_code>