Skip to content

Commit 7a6c227

Browse files
committed
fixed issue with GIF and screenshots not showing/loading in README.md and properly formatted codebase
1 parent 54db42a commit 7a6c227

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class _MyHomePageState extends State<MyHomePage> {
4242
PaystackFlutter().pay(
4343
context: context,
4444
secretKey:
45-
'YOUR PAYSTACK_SECRET_KEY', // Your Paystack secret key.
45+
'sk_test_4daeaa768f986a546516cd9a5d101f657ea4f1d3', // Your Paystack secret key.
4646
amount:
4747
60000, // The amount to be charged in the smallest currency unit. If amount is 600, multiply by 100(600*100)
4848
email:

example/pubspec.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ packages:
166166
paystack_for_flutter:
167167
dependency: "direct main"
168168
description:
169-
path: ".."
170-
relative: true
171-
source: path
169+
name: paystack_for_flutter
170+
sha256: c232fd73995a8a6d842d696bf849f514078f36ab825b1e85577dc0a046cdf40f
171+
url: "https://pub.dev"
172+
source: hosted
172173
version: "1.0.1"
173174
plugin_platform_interface:
174175
dependency: transitive

example/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ environment:
3030
dependencies:
3131
flutter:
3232
sdk: flutter
33+
#paystack_for_flutter: ^1.0.1
3334
paystack_for_flutter:
3435
path: ../
3536

lib/src/paystack_flutter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class PaystackFlutter {
9797
email: email,
9898
amount: amount,
9999
reference: reference,
100-
showProgressBar: false,
100+
showProgressBar: showProgressBar,
101101
confirmTransaction: confirmTransaction,
102102
paymentOptions: paymentOptions,
103103
currency: currency,

0 commit comments

Comments
 (0)