Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Eferigho opened this issue May 22, 2024 · 4 comments
Open

Comments

@Eferigho
Copy link

╷ 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

@DavideM12
Copy link

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

@Eferigho
Copy link
Author

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

@DavideM12
Copy link

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

@thubamamba
Copy link

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```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants