flutter_dojah_financial 0.1.6
flutter_dojah_financial: ^0.1.6 copied to clipboard
A webview implementation of dojah financial. Dojah helps all companies build fintech solutions by making it easy, safe and reliable for people to connect their financial data to apps and services..
final DojahFinancial _dojahFinancial = DojahFinancial(
appId: 'xxxxxxxxxxxxxxx', //required
publicKey: 'prod_pk_xxxxxxxxxxxxxx', //required
type : 'custom' //link, identification, verification, liveness, payment (required)
amount : 100, // (optional) used for Payment widget only
userData, //object
metaData, //object (optional)
config, //object (optional)
referenceId, //NB: referenceId length must be more that 10 characters
);
_dojahFinancial.open(context, onSuccess: (result) {
print('$result');
}, onError: (err) {
print('error: $err');
});