merge-update-with-lab-changes
Aamir Muhammad 5 months ago committed by haroon amjad
parent 24a4020f5c
commit 00e34078b4

@ -207,8 +207,9 @@ class CustomButton extends StatelessWidget {
child: Container(
height: 56,
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: isDisabled ? backgroundColor.withOpacity(0.5) : backgroundColor,
color: isDisabled ? Colors.transparent : backgroundColor,
borderRadius: borderRadius,
side: BorderSide(width: borderWidth, color: isDisabled? borderColor.withOpacity(0.5) : borderColor,)
),
child: Padding(
padding: padding,

Loading…
Cancel
Save