moneybutton_flutter_web 0.1.2

Flutter web

An experimental MoneyButton plugin for Flutter Web

moneybutton_flutter_web #

An experimental MoneyButton plugin for Flutter Web

Usage #

MoneyButton(Map options, (optional) {width: double yourWidth}) #

Displaying Money Buttons onscreen is very buggy because of an issue displaying iframes in Flutter web. You can use Invisible Money Button for the time being

Options is passed as is to the MoneyButton javascript api. Callbacks are not supported.

example:

container(
  child:MoneyButton({"to": "jonathanaird@moneybutton.com", "amount": 1, "currency": "USD"}, width:300)
  )

Invisible Money Button #

To use invisible money button, include the Money Button script tag in your index.html file:
<script src="https://www.moneybutton.com/moneybutton.js"></script>

This package includes a polyfill for the official api with the one difference being that you use IMB(options) instead of moneyButton.IMB(options);

Example:

var imb = IMB(clientIdentifier:'your identifier',suggestedAmount:Amount(amount:1,currency:"USD"),onNewPermissionGranted:(String token){print(token);});
1
likes
50
pub points
0%
popularity

An experimental MoneyButton plugin for Flutter Web

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jonathan.aird@gmail.com

License

MIT (LICENSE)

Dependencies

easy_web_view, flutter, js

More

Packages that depend on moneybutton_flutter_web