scroll_highlight_text 0.1.2
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
HighlightedTextScrollableto allow passing a search controller to it, eliminating the need for the unnecessaryonChangedcallback 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.