scroll_highlight_text 0.1.2 copy "scroll_highlight_text: ^0.1.2" to clipboard
scroll_highlight_text: ^0.1.2 copied to clipboard

Flutter package for highlighting and scrolling through text.

0.0.1 #

  • Initial release.

0.0.2 #

  • Update metadata.

0.0.3 #

  • Fix bug related to empty searched text not being handled properly.

0.0.4 #

  • Update provided example.

0.0.5 #

  • Update metadata.

0.0.6 #

  • Refactor code for improved readability and maintainability.

0.0.7 #

  • Update provided example.

0.0.8 #

  • Update metadata.

0.0.9 #

  • Update example.gif.

0.1.0 #

  • Added support for Arabic text.

0.1.1 #

  • Update Readme.md.

0.1.2 #

The changes in version 0.1.2 include:

  • Updated HighlightedTextScrollable to allow passing a search controller to it, eliminating the need for the unnecessary onChanged callback to make it self-contained:

    Old Code

     SearchBar(
                 hintText: 'Start search',
                 onChanged: (value) {
                   TextScrollHighlight.scrollToHighlightedText(value);
                 },
               ),
        HighlightedTextScrollable(
                text: englishContent,
             ),

New Code

     SearchBar(
                    hintText: 'Start search',
                    controller: controller,
                  ),
       HighlightedTextScrollable(
                  text: englishContent, 
                  searchController: controller,),
  • Updated Readme.md.

  • Updated example usage of the component.

42
likes
0
points
30
downloads

Publisher

verified publisherahmedzein.dev

Weekly Downloads

Flutter package for highlighting and scrolling through text.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on scroll_highlight_text