build method
Override this method to build widgets that depend on the state of the listenable (e.g., the current value of the animation).
Implementation
@override
Widget build(BuildContext context) {
return Container(
width: slideAnimation.value,
height: containerSize.height,
margin: EdgeInsets.only(left: horizontalPadding),
transform: Matrix4.skewX(-.3),
decoration: BoxDecoration(
color: secondBgColor,
),
);
}