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

A very easy-to-use package to display credit card logos, according to the card number.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Credit Card Displayer Example'),
        ),
        body: const Center(
          child: CreditCardDisplayer(
            cardNumber: '4111111111111111',
            expiryDate: '12/24',
            cardHolder: 'John Doe',
            width: 300,
            height: 200,
            backgroundColor: Colors.blue,
            textColor: Colors.white,
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
22
downloads

Publisher

verified publisherhery.website

Weekly Downloads

A very easy-to-use package to display credit card logos, according to the card number.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on credit_card_displayer