delayed_widget: ^1.0.2 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 easy 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.2
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: Set the delay time before start animation
animationDuration: Set the duration of animation
animation: Set the animation type