flutter_shockinflux 1.0.1 flutter_shockinflux: ^1.0.1 copied to clipboard
A Flutter package for shockinflux payment gateway to accept payment via various payment methods.
Flutter Credit Card #
A Flutter package for shockinflux payment gateway.
Preview #
Installing #
-
Add dependency to
pubspec.yaml
Get the latest version in the 'Installing' tab on pub.dartlang.org
dependencies:
flutter_shockinflux: 1.0.1
- Import the package
import 'package:flutter_shockinflux/flutter_shockinflux.dart';
- Adding CreditCardWidget
With required parameters
PaymentMethodsWidget(
amount: amount,
email: email,
storeid: storeid,
reference: reference,
transactionid: transactionid,
template: template,
currency: currency,
comment: comment,
themeColor: Color(0xFF003F5F),
),
How to use #
Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.