wilburx9 / flutter_paystack

:credit_card: A robust Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS
https://pub.dartlang.org/packages/flutter_paystack
Apache License 2.0
213 stars 397 forks source link

Theme issue #193

Open GopinadhDasari opened 6 months ago

GopinadhDasari commented 6 months ago

flutter_paystack-1.0.7/lib/src/widgets/checkout/checkout_widget.dart:191:64: Error: The getter 'headline1' isn't defined for the class 'TextTheme'. getting this issue while running the application.

DavideM12 commented 6 months ago

I solved with this in my pubspec.yaml

dependency_overrides: flutter_paystack: git: url: https://github.com/I-driod/flutter_paystack.git ref: master

Thank to I-driod

kumarshubham01 commented 5 months ago

I solved with this in my pubspec.yaml

dependency_overrides: flutter_paystack: git: url: https://github.com/I-driod/flutter_paystack.git ref: master

Thank to I-driod

Thanks this is something I want

spn107 commented 4 months ago

I solved with this in my pubspec.yaml

dependency_overrides: flutter_paystack: git: url: https://github.com/I-driod/flutter_paystack.git ref: master

Thank to I-driod

Is this works for IOS?

kumarshubham01 commented 4 months ago

I solved with this in my pubspec.yaml dependency_overrides: flutter_paystack: git: url: https://github.com/I-driod/flutter_paystack.git ref: master Thank to I-driod

Is this works for IOS

This problem is not platform-specific; it's due to Flutter not being able to reach the package, so we explicitly provided it. If you are facing the same issues, it should work.

casontek commented 2 months ago

Got this error after adding the above code

Error on line 67, column 8 of pubspec.yaml: Invalid version constraint: Could not parse version "https://github.com/I-driod/flutter_paystack.git". Unknown text at "https://github.com/I-driod/flutter_paystack.git".

`environment: sdk: '>=3.3.4 <4.0.0' # '>=3.3.0-273.0.dev <4.0.0'

dependencies: flutter: sdk: flutter amplify_authenticator: ^2.1.2 amplify_flutter: ^2.4.0 amplify_auth_cognito: ^2.4.0 amplify_storage_s3: ^2.4.0 amplify_datastore: ^2.4.0 json_annotation: ^4.8.1 flutter_paystack:

dependency_overrides: http: ^0.13.5 intl: ^0.18.0 flutter_paystack: git: url: https://github.com/I-driod/flutter_paystack.git ref: master`