v1.1.2delayed_widget
Um pacote Flutter simples e fácil de usar, para fazer o widget aparecer de forma suave assim que for criado.
32Curtidas 908Downloads em 30 dias140Pontos Pub
AndroidiOSWebmacOSWindowsLinux
samuelhk0595/delayed_widget open-source repository details.
Texto original em inglês. Visite o GitHub para a versão atual.
A simple and easy to use flutter package, to make widgets show up in a smooth way as soon as it is created.
dependencies:
delayed_widget: ^1.1.1
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
Lista de dependências 2 itens
{"sdk":"flutter"}{"sdk":"flutter"}Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗