marquee_text 1.0.2+1 copy "marquee_text: ^1.0.2+1" to clipboard
marquee_text: ^1.0.2+1 copied to clipboard

outdated

Scroll automatically when the text exceeds the width of the container.

[中文文档]

Screenshot #

Screenshot

Usage #

  1. Add marquee_text as a dependency in your pubspec.yaml file.

    dependencies:
      marquee_text: ^1.0.0
    
  2. Now in your flutter project, you can use:

    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
38
likes
0
pub points
91%
popularity

Publisher

verified publisherzhcode.fun

Scroll automatically when the text exceeds the width of the container.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on marquee_text