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

content.raw is null? #62

Open
bbence84 opened this issue Dec 1, 2020 · 2 comments
Open

content.raw is null? #62

bbence84 opened this issue Dec 1, 2020 · 2 comments

Comments

@bbence84
Copy link

bbence84 commented Dec 1, 2020

I am trying to use this library with this: https://pub.dev/packages/flutter_wordpress_content.
But content.raw is always null.
content.rendered is fine.
Any reason for this?
Thanks for the otherwise awesome library! :)

@bbence84
Copy link
Author

bbence84 commented Dec 1, 2020

Ok, found the issue: lib/schemas/content.dart: raw isn't passed and mapped in the constructor.
Any particular reason for that?

@bbence84
Copy link
Author

bbence84 commented Dec 2, 2020

Well, I managed to solve my issue using the flutter_widget_from_html plugin, it renders the content.rendered nicely. Still, maybe it would be better to use the dedicated flutter raw format, but I am not sure which one would be better.

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

1 participant