From a6aead38b0db6d605bb1ae3ad66709fce27ade0d Mon Sep 17 00:00:00 2001 From: Peter Chibunna Date: Fri, 20 Oct 2023 12:38:47 +0100 Subject: [PATCH 1/2] Update pubspec.yaml --- pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index f76392a8..e5c6f5cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,8 +6,8 @@ homepage: https://github.com/wilburt/flutter_paystack dependencies: flutter: sdk: flutter - http: ^0.13.5 - intl: ^0.17.0 + http: '>=0.13.5' + intl: '>=0.17.0' meta: ^1.8.0 async: ^2.9.0 @@ -34,4 +34,4 @@ flutter: environment: sdk: '>=2.12.0 <3.0.0' - flutter: ">=2.0.0" \ No newline at end of file + flutter: ">=2.0.0" From 97d2d41e60f12a0d647fcb6c564d945750a235b6 Mon Sep 17 00:00:00 2001 From: Peter Chibunna Date: Fri, 20 Oct 2023 16:04:03 +0100 Subject: [PATCH 2/2] Update card_checkout.dart Instruction Text ('Enter card details to pay') to support dark mode or light mode based on system theme --- lib/src/widgets/checkout/card_checkout.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/widgets/checkout/card_checkout.dart b/lib/src/widgets/checkout/card_checkout.dart index 3ffb383f..93f76301 100644 --- a/lib/src/widgets/checkout/card_checkout.dart +++ b/lib/src/widgets/checkout/card_checkout.dart @@ -54,7 +54,10 @@ class _CardCheckoutState extends BaseCheckoutMethodState { new Text( Strings.cardInputInstruction, key: Key("InstructionKey"), - style: const TextStyle(fontWeight: FontWeight.w500), + style: TextStyle( + fontWeight: FontWeight.w500, + color: Theme.of(context).colorScheme.onSurface + ), ), new SizedBox( height: 20.0,