build method
- BuildContext context,
- bool isHovering
override
Override this method to build the widget based if the user isHovering
or not.
Implementation
@override
Widget build(BuildContext context, bool isHovering) {
return AnimatedScale(
duration: duration,
curve: curve,
alignment: alignment,
scale: isHovering ? scale : 1.0,
child: child,
);
}