Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove checkout from example app since this is not part of this libra… #1857

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions example/lib/screens/checkout/checkout_screen.dart

This file was deleted.

8 changes: 0 additions & 8 deletions example/lib/screens/checkout/platforms/stripe_checkout.dart

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/widgets.dart';
import 'package:flutter_stripe_web/flutter_stripe_web.dart';

import '../../../checkout/platforms/stripe_checkout_web.dart';
import 'stripe_checkout_web.dart';

Future<void> pay() async {
await WebStripe.instance.confirmPaymentElement(
Expand Down
10 changes: 0 additions & 10 deletions example/lib/screens/screens.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:stripe_example/screens/checkout/checkout_screen.dart';
import 'package:stripe_example/screens/customer_sheet/customer_sheet_screen.dart';
import 'package:stripe_example/screens/payment_sheet/payment_element/payment_element.dart';
import 'package:stripe_example/screens/payment_sheet/payment_sheet_deffered_screen.dart';
Expand Down Expand Up @@ -370,14 +369,5 @@ class Example extends StatelessWidget {
],
),
]),
Example(
title: 'Checkout',
builder: (c) => CheckoutScreenExample(),
platformsSupported: [
DevicePlatform.android,
DevicePlatform.ios,
DevicePlatform.web
],
),
];
}
1 change: 0 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies:
sdk: flutter
flutter_stripe: ^10.2.0
flutter_stripe_web: ^5.1.0
stripe_checkout: ^1.0.1
pay: ^1.1.0
http: ^1.1.0
font_awesome_flutter: ^10.6.0
Expand Down
4 changes: 1 addition & 3 deletions example/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# melos_managed_dependency_overrides: flutter_stripe,stripe_platform_interface,stripe_android,stripe_ios,stripe_checkout,flutter_stripe_web,stripe_js
# melos_managed_dependency_overrides: flutter_stripe,stripe_platform_interface,stripe_android,stripe_ios,flutter_stripe_web,stripe_js
dependency_overrides:
flutter_stripe:
path: ../packages/stripe
Expand All @@ -8,8 +8,6 @@ dependency_overrides:
path: ../packages/stripe_android
stripe_ios:
path: ../packages/stripe_ios
stripe_checkout:
path: ../packages/stripe_checkout
flutter_stripe_web:
path: ../packages/stripe_web
stripe_js:
Expand Down
Loading