scroll_highlight_text 1.0.5
scroll_highlight_text: ^1.0.5 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.
0.1.3 #
- Updated
Readme.md.
0.1.4 #
- Updated example usage of the component.
1.0.0 #
1.0.4 #
- Fix: preserve original text casing when highlighting matches.
- Add: safe literal search by default (
treatInputAsRegex: false) with optional regex mode. - Add: match navigation APIs (
nextMatch,previousMatch,jumpToMatch). - Add: match callbacks (
onMatchesFound,onMatchChanged,onSearchCleared,onNoMatch). - Add: built-in navigation UI inside
HighlightedTextScrollable(showMatchNavigation). - Add: floating (FAB-like) match navigation overlay (
matchNavigationType: MatchNavigationType.floating).
1.0.5 #
- Update example1.gif.