text_scroll 0.2.1  text_scroll: ^0.2.1 copied to clipboard
text_scroll: ^0.2.1 copied to clipboard
TextScroll Flutter widget adds text auto-scrolling functionality (marquee text).
text_scroll #
TextScroll Flutter widget adds text auto-scrolling functionality (marquee text).

Features #
- endlessand- bouncingmodes
- delay and pause between rounds
- max number of rounds
- custom velocity
- styleand- textAlignsupport
Getting started #
To use this package, add text_scroll as a dependency in your pubspec.yaml file.
Usage #
Minimal example:
    TextScroll('This is the sample text for Flutter TextScroll widget. ')
Custom settings:
    TextScroll(
        'This is the sample text for Flutter TextScroll widget. ',
        mode: TextScrollMode.bouncing,
        velocity: Velocity(pixelsPerSecond: Offset(150, 0)),
        delayBefore: Duration(milliseconds: 500),
        numberOfReps: 5,
        pauseBetween: Duration(milliseconds: 50),
        style: TextStyle(color: Colors.green),
        textAlign: TextAlign.right,
        selectable: true,
    )