What flutter_seo does
flutter_seo is a Dart package that adds SEO support to Flutter web apps. It converts Seo.text, Seo.image, Seo.link, Seo.html and Seo.head widgets into an html document tree, so the page carries real meta tags and body content rather than only canvas output. The repository carries the topics flutter, flutter-web and seo and links a hosted demo at flutter-seo.netlify.app.
A SeoController wraps the app and listens to widget tree changes, rewriting the html document as the Flutter UI updates. Two tree implementations are offered: WidgetTree, described as production ready, and SemanticsTree, marked experimental, which traverses semantic data faster but does not support Seo.head, Seo.link rel values or Seo.html. The controller can be disabled with enabled: false when a user is logged in.
Key features
- Seo.head meta tags
- Accepts a list of MetaTag entries such as title and content and writes them into the html document head.
- Seo.link anchor rendering
- Emits a link element from href and anchor text, with a rel attribute for link relationships.
- Seo.image alt text
- Takes a src URL and alt text and emits an image element into the html body tree.
- Seo.text body content
- Wraps a text string and a child widget, converting the text into html body content.
- Seo.html raw markup
- Inserts a raw html fragment supplied as a string, alongside a child widget.
- WidgetTree traversal
- Recommended implementation that walks the widget tree, slower than SemanticsTree but described as production ready with no blocking SDK issues.
- SemanticsTree experimental mode
- Experimental implementation that walks semantic data nodes with faster traversal and omits Seo.head, Seo.link rel and Seo.html support.
- Toggleable controller state
- SeoController accepts enabled: false so the html document tree is not updated once a user is logged in.
- Path URL strategy guidance
- README instructs calling usePathUrlStrategy() so Google treats each URL as a distinct page.
- Pubspec dependency install
- Installed by adding seo: ^0.0.10 to the dependencies section of pubspec.yaml.
How it works
- Add seo version ^0.0.10 as a dependency in the pubspec.yaml file.
- Call usePathUrlStrategy() inside main so each app URL counts as a separate page.
- Wrap the whole app in SeoController with enabled set to true.
- Wrap SEO content in Seo.text, Seo.image, Seo.link, Seo.html and Seo.head widgets.
- The controller listens to widget tree changes and updates the html document tree.
- Check results on the netlify demo, PageSpeed Insights and Google Search.
Plans and pricing
The package is free under the MIT licence on GitHub; the page prints no prices or paid tiers.
Integrations and platforms
Works with
- Flutter
- Dart
- Google Search
Available as
- Web
Repository facts
- Repositorykrokyze/flutter_seo
- LanguageDart
- Stars55
- Forks8
- LicenceMIT
- Created2022-11-09
- Last commit2026-11-22
- Open issues6
- flutter
- flutter-web
- seo
Services and details
Does SEO work itself
YesFree plan or free tools
YesAPI or MCP server
Yes
No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.
About the company
- Company krokyze
- Website: github.com/krokyze/flutter_seo
Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.