Skip to content

Instantly share code, notes, and snippets.

@sagarshende23
Created December 4, 2019 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarshende23/fcef92974124f262c0bdca4f7ddcd146 to your computer and use it in GitHub Desktop.
Save sagarshende23/fcef92974124f262c0bdca4f7ddcd146 to your computer and use it in GitHub Desktop.
@override
Widget build(BuildContext context) {
_scale = 1 - _controller.value;
return GestureDetector(
onTapDown: _onTapDown,
onTapUp: _onTapUp,
child: Transform.scale(
scale: _scale,
child: _animatedButtonUI,
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment