Instead of this: Colors.grey.withOpacity(0.5)
(it is deprecated)
Use this: Color.fromARGB(128, 158, 158, 158)