credit_card_input_form 1.0.4 copy "credit_card_input_form: ^1.0.4" to clipboard
credit_card_input_form: ^1.0.4 copied to clipboard

outdated

This package provides visually beautiful UX through animation of credit card information input form.


This package provides visually beautiful UX through animation of credit card information input form.

Preview #

Installing #

  1. Add dependency to pubspec.yaml

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

dependencies:
    credit_card_input_form: ^1.0.4
  1. Import the package
import 'package:credit_card_input_form/credit_card_input_form.dart';
  1. Adding CreditCardInputForm

With optional parameters

 CreditCardInputForm(
   cardHeight: 170,
   frondCardColor: Colors.red,
   backCardColor: Colors.blueAccent,
   onStateChange: (currentState, cardInfo) {
   print(currentState);
   print(cardInfo);
   },
),

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.

3rd party library #

Flip card #

https://pub.dev/packages/flip_card

For use card flip animation

Provider #

https://pub.dev/packages/provider

For use state management

Reference #

This package's animation is inspired from from this Dribbble art.

61
likes
0
pub points
71%
popularity

Publisher

unverified uploader

This package provides visually beautiful UX through animation of credit card information input form.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cupertino_icons, flip_card, flutter, provider

More

Packages that depend on credit_card_input_form