Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payment

A flutter ui design of the Settings for iOS and Android.

Usage

To set your publishable key set:

import 'package:payment/Payment/card.dart';
import 'package:payment/Payment/payment_card_tile.dart';
import 'package:flutter/material.dart';

from somewhere in your code, e.g. your main.dart file.

To open the dialog:

@override
  _PaymentCardTileState createState() => _PaymentCardTileState();

Android

Please be aware that your main activity must extend from FlutterFragmentActivity. Otherwise the Android dialog would've looked very nasty.

TODO

  • better error handling
  • internationalization
  • more stripe library implementations?

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages