Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.46 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.46 KB

Flutter Credit Card

A Flutter package for shockinflux payment gateway.

Preview

The example app running in Android

Installing

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dartlang.org

dependencies:
    flutter_shockinflux: 1.0.1
  1. Import the package
import 'package:flutter_shockinflux/flutter_shockinflux.dart';
  1. 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.

Credit