how to give opacity to container in flutter code example Example: flutter container opacity const Color(0xFF0E3311).withOpacity(0.5)