stripe_native_card_field 0.0.1 copy "stripe_native_card_field: ^0.0.1" to clipboard
stripe_native_card_field: ^0.0.1 copied to clipboard

A native flutter implementation of the elegant Stripe Card Field.

For information about how to write a good package README, see the guide for writing package pages.

A simple and clean Stripe Element Card clone, rebuilt in native Flutter widgets.

This is not an officially maintained package by Stripe, but using the html stripe elements they provide with flutter is less than ideal.

Features #

  • Card number validation
  • No more depending on Flutter Webview

Getting started #

  • Install the package by running flutter pub add stripe_native_card_field

Usage #

Include the package in a file:

import 'package:stripe_native_card_field/stripe_native_card_field.dart';
CardTextField(
  width: 500,
  onCardDetailsComplete: (details) {
    // Save the card details to use with your call to Stripe, or whoever
    setState(() => _cardDetails = details);
  },
);

Additional information #

Repository located here

6
likes
0
points
128
downloads

Publisher

unverified uploader

Weekly Downloads

A native flutter implementation of the elegant Stripe Card Field.

Repository

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on stripe_native_card_field