flutter_paystack icon indicating copy to clipboard operation
flutter_paystack copied to clipboard

Error: The getter 'headline6' isn't defined for the type 'TextTheme'.

Open Eferigho opened this issue 1 year ago • 4 comments

╷ 48 │ color: context.textTheme().headline6?.color, │ ^^^^^^^^^ ╵ ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'. lib/src/widgets/birthday_widget.dart:48:44

Eferigho avatar May 22 '24 14:05 Eferigho

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

Okay thank you, can you reach out to him to merge to master?

Eferigho avatar May 26 '24 13:05 Eferigho

There is already a PR. We're waiting for the author :)

DavideM12 avatar May 27 '24 19:05 DavideM12

This doesn't seem to work, it gives a dependency error:

Resolving dependencies...
Because every version of flutter_paystack from git depends on intl ^0.17.0 and app_name depends on intl ^0.19.0, flutter_paystack from git is forbidden.
So, because app_name depends on flutter_paystack from git, version solving failed.
Process finished with exit code 1```

thubamamba avatar Oct 11 '24 17:10 thubamamba