Last updated:
0 purchases
remit2any flutter
Remit2Any Flutter Plugin #
A Flutter plugin for integrating Remit2Any web components using a WebView.
Installation #
Add the following dependency to your pubspec.yaml file:
dependencies:
remit2any_flutter: *.*.*
copied to clipboard
Run flutter pub get to install the package.
Usage #
Import the Plugin #
import 'package:remit2any_flutter/remit2any_flutter.dart';
copied to clipboard
Remit2Any WebView Widget #
The Remit2AnyWebView widget allows you to integrate various Remit2Any web components into your Flutter application using a WebView.
Example: Remit2Any KYC Widgets #
Remit2AnyWebView(
widgetType: 'us-kyc', // or 'in-kyc' or us-accounts or in-accounts
token: 'your_token_here',
userId: 'userId', // (required only for us-accounts or in-accounts)
env: 'production', // or any other environment
launch:false, // or true to launch kyc widget directly
debug: false, // or true for debug mode
btntext: 'Submit',
onResult: (message) {
print('Result: $message');
},
onError: (message) {
print('Error: $message');
},
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.