Last updated:
0 purchases
flutter eversign
This package offer a simple way to prepare, show and interact with a Eversign iframe overlay.
The main purpose is to let user sign or decline a document, using Eversign iframe, in a Flutter Web app.
Features #
Prepare a widget to show the iframe overlay (can be mounted anywhere in the widget tree)
Subscribe to load, sign, decline and error events
Getting started #
Include this package in the pubspec.yaml file
dependencies:
eversign_overlay: ^0.0.1
copied to clipboard
Import the package in your app
import 'package:flutter_eversign/flutter_eversign.dart';
copied to clipboard
Create and show a widget
final Widget _view = FlutterEversign.getEversignWidget(url);
// show widget ...
copied to clipboard
Usage #
For simply displaying the iframe #
final String url = 'MY_URL_HERE';
final Widget _view = FlutterEversign.getEversignWidget(url);
// use the widget in your app
copied to clipboard
Listen to events #
final String url = 'MY_URL_HERE';
// creating the handler object with onError callback
final FlutterEversignHandler handler = FlutterEversignHandler(
onError: (error) => print(error),
);
// update handler at runtime
handler.onLoaded = () => print('loaded');
final Widget _view = FlutterEversign.getEversignWidget(url, listener: handler);
copied to clipboard
Providing custom height and width #
final String url = 'MY_URL_HERE';
final Widget _view = FlutterEversign.getEversignWidget(
url,
width: 500,
height: 500,
);
copied to clipboard
Additional information #
Supported platforms #
For now only Flutter Web is supported, some other platforms may be added in the future.
Eversign official documentation #
Refer to the official documentation for more information about Eversign and the frame events.
Authors #
This package is developed by zwapin developers.
You can contact us at [email protected] and [email protected]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.