square_web_payments 0.0.11
square_web_payments: ^0.0.11 copied to clipboard
An open source Flutter package for integrating the Square Web Payments SDK. See https://pelavin.github.io/square-web-payments for demonstration.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add square_web_paymentsWith Flutter:
$ flutter pub add square_web_paymentsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
square_web_payments: ^0.0.11Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:square_web_payments/square_web_payments.dart';