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

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

Loading…
Cancel
Save