onTextLocatorChanged property
Stream of text locator changes during reading.
Emits Locator whenever the reading position changes. Use this to save reading progress or update UI.
flureadium.onTextLocatorChanged.listen((locator) {
saveProgress(locator);
});
Implementation
Stream<Locator> get onTextLocatorChanged {
return _platform.onTextLocatorChanged;
}