ticker_text 2.0.0 copy "ticker_text: ^2.0.0" to clipboard
ticker_text: ^2.0.0 copied to clipboard

Configurable & straightforward text scroller with minimal dependencies.

ticker_text for Flutter #

Pub

Straightforward widget scroller with minimal dependencies.

Features #

  • optional control with TickerTextController,
  • specifying scrolling speed and curves,
  • setting custom durations,
    and more.

Example #

SizedBox(
  width: 50,  // constrain the parent width so the child overflows and scrolling takes effect
  child: TickerText(
    // default values
    controller: tickerTextController, // this is optional
    scrollDirection: Axis.horizontal,
    speed: 20,
    startPauseDuration: const Duration(seconds: 10),
    endPauseDuration: const Duration(seconds: 10),
    returnDuration: const Duration(milliseconds: 800),
    primaryCurve: Curves.linear,
    returnCurve: Curves.easeOut,
    child: Text("Very long sentence..."),
  ),
);

API Reference #

Detailed API documentation can be found on pub.dev.

License #

This project is MIT licensed.

14
likes
130
pub points
85%
popularity

Publisher

unverified uploader

Configurable & straightforward text scroller with minimal dependencies.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

fading_edge_scrollview, flutter

More

Packages that depend on ticker_text