updated example file and removed build artifacts from git repo

This commit is contained in:
Nathan Anderson
2023-11-17 16:18:27 -07:00
parent a356775a39
commit d4c697dde8
102 changed files with 6 additions and 5920 deletions
+6 -4
View File
@@ -79,14 +79,16 @@ class _MyHomePageState extends State<MyHomePage> {
),
),
CardTextField(
width: 300,
stripePublishableKey: 'pk_live_YHfarauddQAhnNAsW1qqJha6',
onTokenReceived: (details) {
width: 500,
stripePublishableKey: 'pk_test_abc123importantIDhere',
onStripeResponse: (details) {
if (kDebugMode) print('Got card details: $details');
},
overrideValidState: state,
errorText: errorText,
),
ElevatedButton(
child: const Text('Set error'),
child: const Text('Set manual error'),
onPressed: () => setState(() {
errorText = 'There is a problem';
state = ValidState.invalidCard;