flutter_credit_card_new 0.0.4 flutter_credit_card_new: ^0.0.4 copied to clipboard
A Credit Card widget package, support entering card details, card flip animation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_credit_card_new
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_credit_card_new: ^0.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_credit_card_new/constants.dart';
import 'package:flutter_credit_card_new/credit_card_animation.dart';
import 'package:flutter_credit_card_new/credit_card_background.dart';
import 'package:flutter_credit_card_new/credit_card_brand.dart';
import 'package:flutter_credit_card_new/credit_card_form.dart';
import 'package:flutter_credit_card_new/credit_card_model.dart';
import 'package:flutter_credit_card_new/credit_card_widget.dart';
import 'package:flutter_credit_card_new/custom_card_type_icon.dart';
import 'package:flutter_credit_card_new/flutter_credit_card.dart';
import 'package:flutter_credit_card_new/glassmorphism_config.dart';
import 'package:flutter_credit_card_new/localized_text_model.dart';