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: *.*.*

Run flutter pub get to install the package.

Usage

Import the Plugin

import 'package:remit2any_flutter/remit2any_flutter.dart';

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', //optional
  onResult: (message) {
    print('Result: $message');
  },
  onError: (message) {
    print('Error: $message');
  },
)

Libraries

remit2any_flutter