Fix button color

This commit is contained in:
Vishnu Mohandas 2021-05-12 20:53:33 +05:30
parent ddbd291e00
commit e238c7cc85

View file

@ -37,9 +37,7 @@ Widget button(
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: fontSize,
color: onPressed == null
? Colors.grey
: Color.fromRGBO(45, 194, 98, 1.0),
color: onPressed == null ? Colors.grey : Colors.white,
),
textAlign: TextAlign.center,
),