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, 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"