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 AnimatedContainer(
duration: duration,
curve: curve,
alignment: alignment,
transform: transform,
child: child,
);
}