Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.79k stars 860 forks source link

Spy scroll and selection of text #1339

Open BishalAshiq opened 1 year ago

BishalAshiq commented 1 year ago

Describe your feature request

I am looking for a feature that is equivalent to that of Bootstrap’s Scrollspy:

https://getbootstrap.com/docs/4.0/components/scrollspy/

The intended functionality is to have a vertical scrollable list of items with a sticky horizontal scrollable “header/navbar menu” on top of it. When the user scrolls through the vertical list and reaches a new “section” this is reflected in the horizontal navbar by highlighting the “section name” in the navbar and scrolling to it if necessary. When the user presses on a section name in the horizontal navbar, it should scroll to the start of that section in the vertical list.

Additional context

I also looking for a feature where a user can select text on long press over a text (sentence/word/char).