animated_overflow

Cosmos Software

Pub License

A simple widget for animating overflowing content horizontally or vertically with fade.

Media | Description | How-to-Use

Media

Watch on Youtube:

v1.0.0



Description

This is a simple widget for animating overflowing content horizontally or vertically with fade.

How-to-Use

Simply create an AnimatedOverflow as shown in the example:

AnimatedOverflow({
    Key key,
    animatedOverflowDirection,
    child,
    maxHeight,
    maxWidth,
    padding : 0.0,
    speed   : 50})

Further Explanations:

For a complete set of descriptions for all parameters and methods, see the documentation.

  • The animatedOverflowDirection and child can't be null.
  • The maxHeight is only considered if animatedOverflowDirection is AnimatedOverflowDirection.VERTICAL and it should not be null.
  • The maxWidth is only considered if animatedOverflowDirection is AnimatedOverflowDirection.HORIZONTAL and it should not be null.

Notes

Any help, suggestion or criticism is appreciated!

Cheers.





Libraries

animated_overflow