Skip to content
pubscout

u_credit_card

1.6.0, released 6 months ago by utpals.com

Flutter widget for customizable credit card UI with animations

WASM-ready
$ flutter pub add u_credit_card
Source repository

What it does

Provides a realistic credit card UI that can display card details, balance, and flip animations. It supports customization of colors, logos, and optional NFC icon.

AI-written summary of version 1.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display a credit card UI in a Flutter app
  • You want to show card balance or CVV with optional flipping
  • You want a quick, ready‑made card widget without custom drawing

Skip it when

  • You need full credit card validation or processing logic
  • You require a highly custom card design that deviates from the provided layout

Strengths

  • Realistic card appearance with gradient background
  • Built‑in flip animation and controller
  • Customizable colors, logos, and optional NFC icon
  • Supports balance display and masking of card number

Weaknesses

  • Limited to UI only, no validation or payment logic
  • No support for dynamic card types beyond provided enums
  • Requires manual handling of card data security

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:u_credit_card/u_credit_card.dart';

CreditCardUi(
  cardHolderFullName: 'John Doe',
  cardNumber: '1234567812345678',
  validThru: '10/24',
);

Alternatives

Packages that do the same job and could replace u_credit_card.

  • ticketcher

    Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.

  • flutter_credit_card

    A Credit Card widget package with support of entering card details, and animations like card flip and float.

  • swipable_stack

    A widget for stacking cards that users can swipe horizontally and vertically.

  • vertical_card_pager

    Use dynamic and beautiful card view pagers to help you create great apps.