updare-to-3.32.sultan
Aamir Muhammad 7 months ago
parent 2346195844
commit 62fcb9f1e0

@ -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