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

outdated

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

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:credit_card_input_form/credit_card_input_form.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          body: SafeArea(
        child: AnimatedContainer(
          duration: Duration(milliseconds: 300),
          // color: currentColor,
          child: Stack(children: [
            CreditCardInputForm(
              showResetButton: true,
              onStateChange: (currentState, cardInfo) {
                print(currentState);
                print(cardInfo);
              },
            ),
          ]),
        ),
      )),
    );
  }
}
61
likes
0
pub points
69%
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