0 purchases
delayed widget
delayed_widget #
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.1.1
copied to clipboard
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,
))),
)
copied to clipboard
Attributes #
enable: Enable/Disable animation
delayDuration: Set the delay time before start animation
animationDuration: Set the duration of animation
animation: Set the animation type
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.