scrolling_text 0.0.1
scrolling_text: ^0.0.1 copied to clipboard
Text ticker.
This package can be used to make a scrolling text widget(marquee) same as shown on bottom of the news channel.
Features #
you can have callback function on the end of any text scrolling
Getting started #
``` Center(
child: ScrollingText(
onFinish: () {
//function to change news
},
text: "sample text data",
textStyle: TextStyle(
fontSize: size.height * 0.05),
),
)```
Usage #
``` Center(
child: ScrollingText(
onFinish: () {
//function to change news
},
text: "sample text 2",
textStyle: TextStyle(
fontSize: size.height * 0.05),
),
)```