Skip to content
pubscout

seo_renderer

0.6.0, released 5 years ago by sahdeepsingh.com

Renders Flutter text, link, and image widgets as HTML elements for SEO purposes on the web.

$ flutter pub add seo_renderer
Source repository

What it does

Detects web crawlers using user-agent regex and automatically adds corresponding HTML elements (like headings, paragraphs, links, and images) to the DOM for better search engine optimization.

AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter web application that requires search engine indexing.
  • You need to render text, links, or images as native HTML elements for web crawlers.

Skip it when

  • Your application is exclusively for mobile or desktop platforms without web targets.
  • You do not care about search engine indexing for your Flutter web app.

Strengths

  • Automatically detects web crawlers via regex and user agent.
  • Supports rendering text, rich text, links, and images as HTML elements.
  • Integrates smoothly with navigator observers and MaterialApp.

Weaknesses

  • Under development, which may mean potential API changes or edge cases.
  • Requires manual configuration in index.html for reliable web renderer behavior in some scenarios.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Wrap MaterialApp in a RobotDetector widget and add seoRouteObserver to navigatorObservers.

RobotDetector(
  child: MaterialApp(
    home: MyApp(),
    navigatorObservers: [seoRouteObserver],
  ),
)

Alternatives

Packages that do the same job and could replace seo_renderer.