From 67565710bb5f70fe3825f1e9d57933762748178d Mon Sep 17 00:00:00 2001 From: Jaime Blasco Date: Tue, 4 May 2021 12:28:40 +0200 Subject: [PATCH] Rename stripe package to flutter_stripe --- stripe/example/lib/main.dart | 2 +- .../lib/screens/cvc_re_collection_screen.dart | 2 +- .../lib/screens/no_webhook_payment_screen.dart | 2 +- .../lib/screens/setup_future_payment_screen.dart | 2 +- stripe/example/lib/screens/themes.dart | 2 +- .../lib/screens/webhook_payment_screen.dart | 2 +- stripe/example/pubspec.lock | 16 ++++++++-------- stripe/example/pubspec.yaml | 6 +++--- stripe/lib/{stripe.dart => flutter_stripe.dart} | 0 stripe/pubspec.yaml | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) rename stripe/lib/{stripe.dart => flutter_stripe.dart} (100%) diff --git a/stripe/example/lib/main.dart b/stripe/example/lib/main.dart index 94859cc01..908003951 100644 --- a/stripe/example/lib/main.dart +++ b/stripe/example/lib/main.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; import 'package:stripe_example/.env.dart'; import 'screens/screens.dart'; diff --git a/stripe/example/lib/screens/cvc_re_collection_screen.dart b/stripe/example/lib/screens/cvc_re_collection_screen.dart index 293b222d6..038497dd6 100644 --- a/stripe/example/lib/screens/cvc_re_collection_screen.dart +++ b/stripe/example/lib/screens/cvc_re_collection_screen.dart @@ -3,7 +3,7 @@ import 'dart:developer'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; import 'package:stripe_example/widgets/loading_button.dart'; import 'package:stripe_platform_interface/stripe_platform_interface.dart'; diff --git a/stripe/example/lib/screens/no_webhook_payment_screen.dart b/stripe/example/lib/screens/no_webhook_payment_screen.dart index c53df94e6..76ab523bf 100644 --- a/stripe/example/lib/screens/no_webhook_payment_screen.dart +++ b/stripe/example/lib/screens/no_webhook_payment_screen.dart @@ -2,7 +2,7 @@ import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; import 'package:stripe_example/widgets/loading_button.dart'; import 'package:stripe_platform_interface/stripe_platform_interface.dart'; diff --git a/stripe/example/lib/screens/setup_future_payment_screen.dart b/stripe/example/lib/screens/setup_future_payment_screen.dart index 89e1517bc..0f84e643b 100644 --- a/stripe/example/lib/screens/setup_future_payment_screen.dart +++ b/stripe/example/lib/screens/setup_future_payment_screen.dart @@ -3,7 +3,7 @@ import 'dart:developer'; import 'package:flutter/material.dart' hide Card; import 'package:http/http.dart' as http; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; import 'package:stripe_example/config.dart'; import 'package:stripe_example/widgets/loading_button.dart'; import 'package:stripe_platform_interface/stripe_platform_interface.dart'; diff --git a/stripe/example/lib/screens/themes.dart b/stripe/example/lib/screens/themes.dart index daf5a8e7e..ef33a9161 100644 --- a/stripe/example/lib/screens/themes.dart +++ b/stripe/example/lib/screens/themes.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; class ThemeCardExample extends StatefulWidget { @override diff --git a/stripe/example/lib/screens/webhook_payment_screen.dart b/stripe/example/lib/screens/webhook_payment_screen.dart index 76d17d9c5..f89564e10 100644 --- a/stripe/example/lib/screens/webhook_payment_screen.dart +++ b/stripe/example/lib/screens/webhook_payment_screen.dart @@ -2,7 +2,7 @@ import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; -import 'package:stripe/stripe.dart'; +import 'package:flutter_stripe/flutter_stripe.dart'; import 'package:stripe_example/widgets/loading_button.dart'; import 'package:stripe_platform_interface/stripe_platform_interface.dart'; diff --git a/stripe/example/pubspec.lock b/stripe/example/pubspec.lock index a57687a34..f4440f5ad 100644 --- a/stripe/example/pubspec.lock +++ b/stripe/example/pubspec.lock @@ -55,6 +55,13 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_stripe: + dependency: "direct main" + description: + path: ".." + relative: true + source: path + version: "1.0.0+1" flutter_test: dependency: "direct dev" description: flutter @@ -73,7 +80,7 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.13.1" + version: "0.13.3" http_parser: dependency: transitive description: @@ -156,13 +163,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.0" - stripe: - dependency: "direct main" - description: - path: ".." - relative: true - source: path - version: "0.0.1" stripe_android: dependency: transitive description: diff --git a/stripe/example/pubspec.yaml b/stripe/example/pubspec.yaml index a1f8d2ac9..865321d83 100644 --- a/stripe/example/pubspec.yaml +++ b/stripe/example/pubspec.yaml @@ -10,10 +10,10 @@ environment: dependencies: flutter: sdk: flutter - http: ^0.13.1 - stripe: + flutter_stripe: path: ../ - + http: ^0.13.1 + dev_dependencies: flutter_test: diff --git a/stripe/lib/stripe.dart b/stripe/lib/flutter_stripe.dart similarity index 100% rename from stripe/lib/stripe.dart rename to stripe/lib/flutter_stripe.dart diff --git a/stripe/pubspec.yaml b/stripe/pubspec.yaml index bf34856fe..c5770ab95 100644 --- a/stripe/pubspec.yaml +++ b/stripe/pubspec.yaml @@ -1,6 +1,6 @@ -name: stripe +name: flutter_stripe description: A new flutter plugin project. -version: 0.0.1 +version: 1.0.0+1 author: homepage: