marquee_text 1.0.0 marquee_text: ^1.0.0 copied to clipboard
Scroll automatically when the text exceeds the width of the container.
Screenshot #
Usage #
Container(
width: 100,
color: Colors.green
child: MarqueeText(
text: 'Don not worry when you are not recognized',
style: TextStyle(
fontSize: 24,
color: Colors.white,
),
speed: 30,
),
)
Properties #
Property | Type | Required | Default |
---|---|---|---|
text | String | true | / |
style | TextStyle | false | / |
speed | double | false | 50 |
alwaysScroll | bool | false | false |