squareDuet property
Widget
get
squareDuet
Implementation
Widget get squareDuet {
return AnimatedContainer(
duration: attribute.animationDuration,
margin: EdgeInsets.symmetric(horizontal: margin),
height: attribute.size,
width: isSelected ? attribute.size * 2.5 : attribute.size,
decoration: BoxDecoration(
color: backgroundColor,
border: Border.all(
color: unselectedBackgroundColor, width: attribute.borderSize),
),
);
}