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.
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.
- flutter_widget_from_html_core
Render HTML content as native Flutter widgets with correctness and extensibility.
92Compare - flutter_link_previewer
Customizable Flutter widget to fetch and render URL link previews.
91Compare - flutter_widget_from_html
Render HTML content as native Flutter widgets with support for common tags, CSS, and media.
89Compare - flutter_tex
Renders mathematical and chemical equations using LaTeX, TeX, MathML, and AsciiMath.
83Compare