Flutter Get Flip Effect to Any Widget Example | Flutter Tutorials

preview_player
Показать описание
A component that provides flip card animation. It could be used for hide and show details of a product.
#flutter #flutterdev

DO
LIKE
SHARE
SUBSCRIBE

Source Code:

Рекомендации по теме
Комментарии
Автор

How to flip card while clicking button widget

AravindanJ-jeln
Автор

how can the animation speed be changed dynamically?
in FlipCard (
speed: dir,
key: cardKey,
direction: FlipDirection.HORIZONTAL, // default
front: Center (
child: Container (
child: RaisedButton (

onPressed: () {
setState (() {
dir = 100;
});
cardKey.currentState! .toggleCard ();
},
child: Text ('Toggle'),
),
),
),
back: Container (
child: Text ('Back'),
),
)

but the speed does not change how can you decide you don’t know?

crazy-man
join shbcf.ru