Remove unnecessary param

This commit is contained in:
vishnukvmd 2021-09-22 14:03:43 +05:30
parent c9d0a86ac1
commit a92d3956a5

View file

@ -19,7 +19,6 @@ Widget button(
VoidCallback onPressed,
double lineHeight,
EdgeInsets padding,
Color color,
}) {
return InkWell(
child: OutlinedButton(
@ -32,7 +31,7 @@ Widget button(
width: onPressed == null ? 1 : 2,
color: onPressed == null
? Colors.grey
: color ?? Color.fromRGBO(45, 194, 98, 1.0),
: Color.fromRGBO(45, 194, 98, 1.0),
),
),
child: Text(