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