Closed emmett-deen closed 1 year ago
I am in the same situation. Having rich text / text spans wrapped in seo object would make flutter a whole lot more usable as an SEO capable framework.
Hey. You can do like this:
Seo.text(
text: 'Made with ❤️ by',
child: Seo.link(
href: 'https://twitter.com/Emmett_Deen',
anchor: '@Emmett_Deen',
child: Text.rich(...),
),
)
I am currently just wrapping the rich text with a link since I think that is more important for me than the text contained, but either way we need a way to accomplish both with text spans. See code example: