Skip to content

Commit

Permalink
Minor README tweaks (jonasbark#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsgriffin authored Jun 13, 2021
1 parent 1aab1a6 commit 7ecec5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ class PaymentScreen extends StatelessWidget {
},
),
TextButton(
onPressed: () {
onPressed: () async {
// create payment method
final paymentMethod =
await Stripe.instance.createPaymentMethod(PaymentMethodParams.card());
}
},
child: Text('pay'),
)
],
Expand Down

0 comments on commit 7ecec5f

Please sign in to comment.