sflashy_ui 0.0.3+3 copy "sflashy_ui: ^0.0.3+3" to clipboard
sflashy_ui: ^0.0.3+3 copied to clipboard

unlisted

This is a suite of Flutter Widgets for specific sflashy effects

Sflashy UI #

This is a suite of Flutter Widgets for specific sflashy effects.

Components #

TextRoller #

Strings merge transition in an infinite loop animation

The widget shows strings in the order it receives them.

waitDuration indicates how long each string remains static before being replaced with the next. wait can be used instead to specify seconds.

transitionDuration indicates how long the transition between the two strings lasts, during which the text gradually merges. transition can be used instead to specify seconds.

TextRoller(
    strings: [
        'Text Number One',
        'Second text to display',
        'Number 3',
        '4',
    ],
    style: SomeTextStyle(), // optional
    wait: 1, // same as waitDuration: Duration(seconds: 4)
    transition: 1, // same as transitionDuration: Duration(seconds: 4)
    /// For better time flexibility:
    // waitDuration: Duration(milliseconds: 4500)
    // transitionDuration: Duration(milliseconds: 2500)
);
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

This is a suite of Flutter Widgets for specific sflashy effects

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on sflashy_ui