delayed_widget: ^1.0.1 copied to clipboard
A simple and ease to use flutter package, to make the widget show up in a smooth way as soon as it is created.
A simple and ease to use flutter package, to make widgets show up in a smooth way as soon as it is created.
Add dependency #
dependencies: delayed_widget: ^1.0.0
Easy to use #
Scaffold( appBar: AppBar( title: Text('DelayedWidget Example'), ), body: Center( child: DelayedWidget( delayDuration: Duration(milliseconds: 200),// Not required animationDuration: Duration(seconds: 1),// Not required animation: DelayedAnimations.SLIDE_FROM_BOTTOM,// Not required child: Container( width: 200, height: 200, color: Colors.red, ))), )
enable: Enable/Disable animation
delayDuration: The delay time before start animation
animationDuration: The duration of animation
animation: The animation type