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

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