credit_card_flip 0.0.2 copy "credit_card_flip: ^0.0.2" to clipboard
credit_card_flip: ^0.0.2 copied to clipboard

Package for displaying Credid Cards

example/lib/main.dart

import 'package:credit_card_flip/credit_card_flip.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Credit Card',
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: const [
              CreditCardFlip(
                bank: 'Bank of America',
                cardExpiration: '12/22',
                cardHolder: 'John Doe',
                cardNumber: '6011 5678 9012 3451',
                securityCode: '123',
                qrCode: 'https://github.com/thiagolop',
                
              ),
              CreditCard(
                bank: 'Bank of America',
                cardExpiration: '12/22',
                cardHolder: 'John Doe',
                cardNumber: '4223 3078 9012 3456',
                securityCode: '456',
                face: CreditCardFace.front,
              ),
              CreditCard(
                bank: 'Bank of America',
                cardExpiration: '12/22',
                cardHolder: 'John Doe',
                cardNumber: '1234 5678 9012 3456',
                securityCode: '789',
                face: CreditCardFace.back,
                qrCode: 'https://www.linkedin.com/in/thiago-fernandes-lopes-725aa5224/',
              ),
            ],
          ),
        ),
      ),
    );
  }
}
12
likes
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

Package for displaying Credid Cards

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, qr_flutter

More

Packages that depend on credit_card_flip