push_in_out_switcher

Creator: coderz1093

Last updated:

0 purchases

push_in_out_switcher Image
push_in_out_switcher Images
Add to Cart

Description:

push in out switcher

push_in_out_switcher #
🔄 An animated switcher with the push-in-out animation.

How to use #
Install the package #
Add the dependency to pubspec.yaml:
dependencies:
push_in_out_switcher: ^1.0.0+1
copied to clipboard
Use it! #
Widget build(BuildContext context) {
final icon = isPasswordVisible = isPasswordVisible
? Icons.visibility_off
: Icons.visibility;

return PushInOutSwitcher(
child: Icon(
icon,
key: ValueKey(icon),
),
);
}
copied to clipboard
Optional params #



Param
Default
What's this




duration
Duration(milliseconds: 250)
Animation duration


curve
Curves.easeInOut
Animation curve


fade
true
Whether to use fading aimation along with scaling animation.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.