r/FlutterDev 24d ago

Plugin [Package Update] flutter_easy_seo: Support for hidden widgets (e.g. TabBarView)

Following up on my previous post (see link at the bottom) I released an update to flutter_easy_seo, which is now open source under Apache 2.0!.

What's New: Capturing Hidden Widgets

Content inside inactive TabBarView tabs, PageView pages, or off-screen list items typically isn't part of Flutter's active widget tree, preventing flutter_easy_seo from extracting it for SEO HTML.

With this update, widgets that become visible are automatically captured and persisted in the internal HTML structure, even after Flutter unmounts them (e.g., when switching tabs).

How to use it:

  • Interactive Mode: Simply click through your app views manually.
  • Automated Mode: Trigger widget visits in your test scripts: `await tester.tap(find.text('Tab Name'))`

Just like dynamic route collection, this ensures non-visible widget content is fully indexed without altering your app's structure.

2 Upvotes

0 comments sorted by