remit2any_flutter 0.0.14 copy "remit2any_flutter: ^0.0.14" to clipboard
remit2any_flutter: ^0.0.14 copied to clipboard

A Flutter plugin for integrating Remit2Any web components using a WebView.

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');
  },
)
1
likes
120
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for integrating Remit2Any web components using a WebView.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, permission_handler

More

Packages that depend on remit2any_flutter

Packages that implement remit2any_flutter