credit_card_detector

pub package

A dart package to display a horizontal bar of customisable toggle tabs. Supports iOS and Android.

Installation

Depend on it.

dependencies:
  credit_card_detector: ^1.0.0

Usage

import 'package:credit_card_detector/credit_card_detector.dart';

CreditCardWidget(
  cardNumber: '4040 4040 4040 4040',
  expiryDate: '11/11',
  cardHolderName: 'Noctis Lucis Caelum',
  cvvCode: '1234',
  showBackView: false,
)

Parameters

@required final String cardNumber;
@required final String expiryDate;
@required final String cardHolderName;
@required final String cvvCode;
final TextStyle textStyle;
final Color cardBgColor;
final bool showBackView;
final Duration animationDuration;
final double height;
final double width;

Libraries

animation_card
card_detector
common
constants
credit_card_detector
credit_card_form
credit_card_model
credit_card_widget
masked_text_controller