패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.1.8

credit_card

자동 카드 유형 탐지 기능을 갖춘 기능적이고 아름다운 신용카드 위젯입니다.

30일 다운로드
84
좋아요
28
Pub 점수
30

패키지 설치

flutter pub add credit_card

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

입력 기반으로 카드 유형을 자동으로 감지하는 기능적이고 시각적으로 매력적인 신용카드 위젯입니다. Flutter 앱에 원활하게 통합되도록 설계되어 실시간 검증과 동적 스타일링을 통해 사용자 경험을 향상시킵니다. 주요 카드 네트워크를 지원하며 결제 양식에 적합한 깔끔하고 현대적인 인터페이스를 제공합니다. 가볍고 구현이 쉬워 전자상거래, 금융 또는 안전한 카드 입력이 필요한 모든 앱에 적합합니다.

사용 사례

  • 결제 폼 통합
  • 전자상거래 체크아웃 흐름
  • 디지털 지갑 인터페이스
  • 카드 번호 검증
  • 사용자 친화적인 카드 입력 UI
  • 안전한 결제 데이터 수집

주요 기능

  • 자동 카드 유형 감지
  • 실시간 입력 검증
  • 주요 카드 네트워크 지원
  • 아름다운 사용자 정의 가능한 디자인
  • 경량이며 통합이 쉬움
  • 반응형 카드 표시

적합한 대상

  • Flutter 개발자가 결제 시스템을 구축하고 있습니다
  • 보안 카드 입력이 필요한 앱
  • UI 중심의 금융 애플리케이션
  • 모바일 전자상거래 플랫폼
  • 디자인 중심의 결제 인터페이스

고려 사항

  • 실제 결제 처리를 지원하지 않습니다
  • 민감한 데이터에 대한 추가 보안 조치가 필요합니다
  • 카드 처리의 UI/UX 측면에 국한
  • 내장형 암호화 또는 토큰화 없음
  • 생산용 결제 게이트웨이에는 적합하지 않습니다
  • 준수를 위해 수동 구현이 필요합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Flutter Credit Card

A Flutter package allows you to easily implement the Credit card's UI easily with the Card detection.

Codacy Badge

Preview

The example app running in Android

Installing

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dartlang.org

dependencies:
    credit_card: 0.1.6
  1. Import the package
import 'package:credit_card/flutter_credit_card.dart';
  1. Adding CreditCardWidget

With required parameters


    CreditCardWidget(
        cardNumber: cardNumber,
        expiryDate: expiryDate, 
        cardHolderName: cardHolderName,
        cvvCode: cvvCode,
        showBackView: isCvvFocused, //true when you want to show cvv(back) view
    ),

With optional parameters

    CreditCardWidget(
        cardNumber: cardNumber,
        expiryDate: expiryDate,
        cardHolderName: cardHolderName,
        cvvCode: cvvCode,
        showBackView: isCvvFocused,
        cardbgColor: Colors.black,
        height: 175,
        textStyle: TextStyle(color: Colors.yellowAccent),
        width: MediaQuery.of(context).size.width,
        animationDuration: Duration(milliseconds: 1000),
        ),
  1. Adding CreditCardForm
    CreditCardForm(
      themeColor: Colors.red,
      onCreditCardModelChange: (CreditCardModel data) {},
    ),

How to use

Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Credit

This package's animation is inspired from from this Dribbble art. This package is basend on flutter_credit_card.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.