flutter_paystack icon indicating copy to clipboard operation
flutter_paystack copied to clipboard

Theme issue

Open GopinadhDasari opened this issue 1 year ago • 5 comments

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.

GopinadhDasari avatar May 22 '24 20:05 GopinadhDasari

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

DavideM12 avatar May 24 '24 22:05 DavideM12

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

kumarshubham01 avatar Jun 15 '24 20:06 kumarshubham01

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?

spn107 avatar Jul 26 '24 02:07 spn107

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.

kumarshubham01 avatar Jul 31 '24 21:07 kumarshubham01

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`

casontek avatar Sep 04 '24 14:09 casontek