sflashy_ui 0.0.5+1 copy "sflashy_ui: ^0.0.5+1" to clipboard
sflashy_ui: ^0.0.5+1 copied to clipboard

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 #

Alt text

Example:

TextRoller(
    strings: [
        'First',
        'Second',
        'Third',
        'Fourth',
    ],
    waitDuration: Duration(second: 2), // (optional) same as `wait: 2`
    transitionDuration: Duration(milliseconds: 1250) // (optional)
);

Strings merge transition in an infinite loop animation #

The widget shows strings in the order it receives them.

Params
  • style: TextStyle of the Text rendered.

  • 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.

1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

This is a suite of Flutter Widgets for specific sflashy effects

Repository
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on sflashy_ui