marquee_text 1.1.0
marquee_text: ^1.1.0

Flutter Android iOS web

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

[中文文档]

Publish Packages pub package

Screenshot #

Screenshot

Usage #

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

     dependencies:
       marquee_text: ^1.1.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 #

PropertyTypeRequiredDefault
textStringtrue/
styleTextStylefalse/
speeddoublefalse50
alwaysScrollboolfalsefalse
textDirectionTextDirectionfalseTextDirection.ltr
marqueeDirectionMarqueeDirectionfalseMarqueeDirection.rtl
4
likes
110
pub points
70%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

zhaozhuang.cn@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on marquee_text