A flutter widget for a smoothly scrolling text ticker that integrates text updates cleanly so that scrolling is glitch-free and uninterrupted. The main feature is that all text updates take place in the area of the text buffer that is not yet visible, so that the text does not disrupt (glitch effect) during display.
This repository contains two main components:
A pure Flutter library that provides a customizable ticker widget for animated, updatable text transitions.
A comprehensive sample application that demonstrates how to use the Updatable Ticker library:
- Basic Demo: A randomly timed actualization of generated demo text (lorem ipsum) with random word lengths. The UpdatableTicker will rebuild when alignment, width or font size changes. To do this, the UpdatableTicker is wrapped with OrientationBuilder, SizeChangedLayoutNotifier and a ValueKey. You can control speed and fontsize with sliders.
Add this to your package's pubspec.yaml file for local testing:
dependencies:
updatable_ticker:
path: path/to/flutter_ticker_libraryor if loading from pub.dev:
dependencies:
updatable_ticker: ^1.0.6cd updatable_ticker_sample
flutter pub get
flutter runThis project is licensed under the BSD 3-Clause License - see the LICENSE file for details.